diff --git a/src/xwl/dnd.cpp b/src/xwl/dnd.cpp index 75672d7316..e97302f505 100644 --- a/src/xwl/dnd.cpp +++ b/src/xwl/dnd.cpp @@ -168,6 +168,7 @@ void Dnd::endDrag() connect(m_currentDrag, &Drag::finish, this, &Dnd::clearOldDrag); m_oldDrags << m_currentDrag; } + setWlSource(nullptr); m_currentDrag = nullptr; }