From 1260e3509390036cad9a87b864578e60561a5bf5 Mon Sep 17 00:00:00 2001 From: kyte Date: Tue, 1 Feb 2022 03:29:49 +0530 Subject: [PATCH] swipeTracker: Ignore Meta key while workspace scroll gesture is in progress Workspace transition stopped midway when the Meta key was released while the two-finger scroll gesture was in progress. This commit ignores the Meta key once the gesture has been confirmed and is in motion. Part-of: --- js/ui/swipeTracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js index b49216e5f..c93d8bfdc 100644 --- a/js/ui/swipeTracker.js +++ b/js/ui/swipeTracker.js @@ -364,7 +364,7 @@ const ScrollGesture = GObject.registerClass({ if ((this._allowedModes & Main.actionMode) === 0) return false; - if (this.scrollModifiers !== 0 && + if (!this._began && this.scrollModifiers !== 0 && (event.get_state() & this.scrollModifiers) === 0) return false;