Commit 0c0c069b authored by Carlos Garnacho's avatar Carlos Garnacho

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.
parent 9e8c92d6
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment