mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
clutter: Ensure pick on CLUTTER_PROXIMITY_IN
Same reasoning holds than with touchpad gesture events in the previous commit, this will be the first event seen from a specific device and will require early handling, or crashes may follow. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3198>
This commit is contained in:
parent
26c2633b2c
commit
7a4c98438a
@ -802,6 +802,7 @@ clutter_stage_handle_event (ClutterStage *stage,
|
||||
case CLUTTER_TOUCHPAD_PINCH:
|
||||
case CLUTTER_TOUCHPAD_SWIPE:
|
||||
case CLUTTER_TOUCHPAD_HOLD:
|
||||
case CLUTTER_PROXIMITY_IN:
|
||||
update_device_for_event (stage, event, TRUE);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user