workspace: fix dragging of window thumbnails
Clear the ClutterClickAction state before starting the drag, otherwise it will eat the first button event after the drag, preventing a new drag from being started. https://bugzilla.gnome.org/show_bug.cgi?id=662386
This commit is contained in:
parent
882fe48d80
commit
62b65a25d8
@ -370,6 +370,7 @@ const WindowClone = new Lang.Class({
|
||||
if (this._selected)
|
||||
return;
|
||||
let [x, y] = action.get_coords();
|
||||
action.release();
|
||||
this._draggable.startDrag(x, y, global.get_current_time());
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user