[gnome-shell] workspacesDisplay: Cancel click when panning
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspacesDisplay: Cancel click when panning
- Date: Mon, 27 Jun 2016 14:32:24 +0000 (UTC)
commit 02bad8e92bd963a991a6e04ffbf137395c071a20
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jun 24 18:10:28 2016 +0200
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 6c66f3e..e516661 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();
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]