[mutter] keybindings: Reset modifier-only-pressed on scroll
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] keybindings: Reset modifier-only-pressed on scroll
- Date: Thu, 4 Feb 2021 19:49:49 +0000 (UTC)
commit ee3d26f228e08fa50acd48e9f1b9227dd1a82a11
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Jan 29 20:06:57 2021 +0100
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>
src/core/keybindings.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 3c8ec86a19..064b2338ba 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]