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




commit 123bc2bac36f7b92bf9f7db1d504d828cde56356
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]