[gnome-shell] workspace: fix dragging of window thumbnails
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspace: fix dragging of window thumbnails
- Date: Sun, 22 Jan 2012 11:06:40 +0000 (UTC)
commit 62b65a25d84918da84bb88d3949d5626d8904f20
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sat Jan 21 17:07:59 2012 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 519e9b8..1d48bfd 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());
}));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]