mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
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
This commit is contained in:
parent
9e8c92d66a
commit
0c0c069b3f
@ -1529,6 +1529,7 @@ _clutter_input_device_remove_event_sequence (ClutterInputDevice *device,
|
|||||||
|
|
||||||
g_hash_table_replace (device->inv_touch_sequence_actors,
|
g_hash_table_replace (device->inv_touch_sequence_actors,
|
||||||
info->actor, sequences);
|
info->actor, sequences);
|
||||||
|
_clutter_input_device_set_actor (device, sequence, NULL, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hash_table_remove (device->touch_sequences_info, sequence);
|
g_hash_table_remove (device->touch_sequences_info, sequence);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user