From ee3d26f228e08fa50acd48e9f1b9227dd1a82a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 29 Jan 2021 20:06:57 +0100 Subject: [PATCH] keybindings: Reset modifier-only-pressed on scroll Since commit c255031b6d6, we allow some modifier+scroll events to pass through to Clutter to enable gnome-shell to handle them. That action shouldn't trigger a modifier-only action at the same time, so reset the corresponding tracking just like we do for modifier+click. Part-of: --- src/core/keybindings.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 3c8ec86a1..064b2338b 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -2340,6 +2340,7 @@ meta_keybindings_process_event (MetaDisplay *display, case CLUTTER_BUTTON_RELEASE: case CLUTTER_TOUCH_BEGIN: case CLUTTER_TOUCH_END: + case CLUTTER_SCROLL: keys->overlay_key_only_pressed = FALSE; keys->locate_pointer_key_only_pressed = FALSE; return FALSE;