From 02bad8e92bd963a991a6e04ffbf137395c071a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 24 Jun 2016 18:10:28 +0200 Subject: [PATCH] workspacesDisplay: Cancel click when panning When switching between workspaces via panning, we don't want to leave the overview when we end up on an empty workspace. https://bugzilla.gnome.org/show_bug.cgi?id=766883 --- js/ui/workspacesView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 6c66f3e61..e5166615c 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -436,6 +436,7 @@ const WorkspacesDisplay = new Lang.Class({ return true; })); panAction.connect('gesture-cancel', Lang.bind(this, function() { + clickAction.release(); for (let i = 0; i < this._workspacesViews.length; i++) this._workspacesViews[i].endSwipeScroll(); }));