diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 8bb589f42..605f8a171 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -442,6 +442,11 @@ const WorkspacesDisplay = new Lang.Class({ this._workspacesViews[i].startSwipeScroll(); 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(); + })); panAction.connect('gesture-end', Lang.bind(this, function() { clickAction.release(); for (let i = 0; i < this._workspacesViews.length; i++)