From a256c8c392f2ad085c4ed52e2f69107f6b43dc51 Mon Sep 17 00:00:00 2001 From: Val Packett Date: Tue, 27 May 2025 14:58:11 -0300 Subject: [PATCH] Always propagate vertical gestures if disabled Do not block V-Shell (vertical-workspaces) from handling the down swipe --- gestures.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gestures.js b/gestures.js index 9fe2c3cdb..a3885a752 100644 --- a/gestures.js +++ b/gestures.js @@ -113,6 +113,13 @@ export function enable(extension) { return Clutter.EVENT_PROPAGATE; } + // if our vertical gesture is disabled, propagate always! + // (might be used for a vertical-workspaces addon) + if (gestureWorkspaceFingers() === 0) { + swipeTrackersEnable(); + return Clutter.EVENT_PROPAGATE; + } + let dir_y = -dy * natural * Settings.prefs.swipe_sensitivity[1]; // if not Tiling.inPreview and swipe is UP => propagate event to overview if (!Tiling.inPreview && dir_y > 0) {