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:
Stefano Facchini 2012-01-21 17:07:59 +01:00 committed by Jasper St. Pierre
parent 882fe48d80
commit 62b65a25d8

View File

@ -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());
}));
}