[gnome-shell/wip/exalm/long-swipes: 7/7] workspacesView: Enable long swipes




commit d8ea978cd2820ab6baecf6d69ac8e4ba6468ef43
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Feb 8 01:06:02 2021 +0500

    workspacesView: Enable long swipes

 js/ui/workspacesView.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 025fafe065..56b5e55eda 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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]