From 2b9cf73309d7c3fc3783c0e23e652b5bf0f4a005 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Mon, 8 Feb 2021 01:06:02 +0500 Subject: [PATCH] workspacesView: Enable long swipes Part-of: --- js/ui/workspacesView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 025fafe06..56b5e55ed 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -498,6 +498,7 @@ class WorkspacesDisplay extends St.Widget { this._swipeTracker = new SwipeTracker.SwipeTracker( Main.layoutManager.overviewGroup, Shell.ActionMode.OVERVIEW); + this._swipeTracker.allowLongSwipes = true; this._swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this)); this._swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this)); this._swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));