summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2021-01-29 20:06:57 +0100
committerMarge Bot <marge-bot@gnome.org>2021-02-04 19:26:18 +0000
commitee3d26f228e08fa50acd48e9f1b9227dd1a82a11 (patch)
tree1f7272ef4060213956ee439862622ec801caf959 /src/core
parentac3d9a0641ee28fb727c28037570018f783defd0 (diff)
downloadmutter-ee3d26f228e08fa50acd48e9f1b9227dd1a82a11.tar.gz
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1695>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/keybindings.c1
1 files changed, 1 insertions, 0 deletions
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;