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:
Carlos Garnacho 2023-08-21 16:53:01 +02:00 committed by Marge Bot
parent 26c2633b2c
commit 7a4c98438a

View File

@ -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: