From 0c0c069b3fa1cdf003839b4581906b989f379b1a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 21 Jul 2014 23:44:10 +0200 Subject: [PATCH] input-device: Ensure crossing events are paired for touch sequences When the sequence is lifted the actor wouldn't be unset, so the corresponding CLUTTER_LEAVE event would never be sent for the touch sequence. https://bugzilla.gnome.org/show_bug.cgi?id=733560 --- clutter/clutter-input-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/clutter-input-device.c b/clutter/clutter-input-device.c index 0bb8a051e..89728f763 100644 --- a/clutter/clutter-input-device.c +++ b/clutter/clutter-input-device.c @@ -1529,6 +1529,7 @@ _clutter_input_device_remove_event_sequence (ClutterInputDevice *device, g_hash_table_replace (device->inv_touch_sequence_actors, info->actor, sequences); + _clutter_input_device_set_actor (device, sequence, NULL, TRUE); } g_hash_table_remove (device->touch_sequences_info, sequence);