mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
This commit is contained in:
parent
500ea13155
commit
02bad8e92b
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue