From 62b65a25d84918da84bb88d3949d5626d8904f20 Mon Sep 17 00:00:00 2001 From: Stefano Facchini Date: Sat, 21 Jan 2012 17:07:59 +0100 Subject: [PATCH] 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 --- js/ui/workspace.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 519e9b809..1d48bfd98 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -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()); })); }