From 7a4c98438a928e3c17602c043d2e17fab4d8515b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 21 Aug 2023 16:53:01 +0200 Subject: [PATCH] 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: --- clutter/clutter/clutter-main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index a32537038..ecb549bcd 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -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: