diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index 84a10bb5d..9db080931 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -2049,7 +2049,8 @@ _clutter_process_event_details (ClutterActor *stage, emit_touch_event (event, device); - if (event->type == CLUTTER_TOUCH_END) + if (event->type == CLUTTER_TOUCH_END || + event->type == CLUTTER_TOUCH_CANCEL) _clutter_input_device_remove_event_sequence (device, event); break; @@ -2084,7 +2085,8 @@ _clutter_process_event_details (ClutterActor *stage, emit_touch_event (event, device); - if (event->type == CLUTTER_TOUCH_END) + if (event->type == CLUTTER_TOUCH_END || + event->type == CLUTTER_TOUCH_CANCEL) _clutter_input_device_remove_event_sequence (device, event); break;