Commit 8f96cfcf authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Emmanuele Bassi

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
(cherry picked from commit 0c0c069b)
Signed-off-by: 's avatarEmmanuele Bassi <ebassi@gnome.org>
parent bc1a79db
......@@ -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