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
@ -436,6 +436,7 @@ const WorkspacesDisplay = new Lang.Class({
|
|||||||
return true;
|
return true;
|
||||||
}));
|
}));
|
||||||
panAction.connect('gesture-cancel', Lang.bind(this, function() {
|
panAction.connect('gesture-cancel', Lang.bind(this, function() {
|
||||||
|
clickAction.release();
|
||||||
for (let i = 0; i < this._workspacesViews.length; i++)
|
for (let i = 0; i < this._workspacesViews.length; i++)
|
||||||
this._workspacesViews[i].endSwipeScroll();
|
this._workspacesViews[i].endSwipeScroll();
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user