mirror of
https://github.com/brl/mutter.git
synced 2025-06-15 01:39:30 +00:00
keybindings: Reset modifier-only-pressed on scroll
Since commit c255031b6d
, 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>
This commit is contained in:

committed by
Marge Bot

parent
ac3d9a0641
commit
ee3d26f228
@ -2340,6 +2340,7 @@ meta_keybindings_process_event (MetaDisplay *display,
|
|||||||
case CLUTTER_BUTTON_RELEASE:
|
case CLUTTER_BUTTON_RELEASE:
|
||||||
case CLUTTER_TOUCH_BEGIN:
|
case CLUTTER_TOUCH_BEGIN:
|
||||||
case CLUTTER_TOUCH_END:
|
case CLUTTER_TOUCH_END:
|
||||||
|
case CLUTTER_SCROLL:
|
||||||
keys->overlay_key_only_pressed = FALSE;
|
keys->overlay_key_only_pressed = FALSE;
|
||||||
keys->locate_pointer_key_only_pressed = FALSE;
|
keys->locate_pointer_key_only_pressed = FALSE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user