Commit f375b152 authored by David Edmundson's avatar David Edmundson
Browse files

[xwl] Cancel the visit when a drag ends

XWL only clears up when a "visit" finishes.

If we end a WlToXDrag through clicking we call "WlToXDrag::end" but the
visit object stays alive, which obviously will never finish.

Both the visit and the drag object then effectively leak and are used on
the next drag.

(cherry picked from commit 4bab721d)
parent 04d1d5e9
......@@ -87,6 +87,7 @@ bool WlToXDrag::end()
// we direclty allow to delete previous visits
Q_EMIT finish(this);
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment