GNOME Bugzilla – Bug 733560
Touch events trigger enter events on press, but no leave events on release
Last modified: 2014-07-23 12:33:26 UTC
when a CLUTTER_TOUCH_BEGIN is gotten, the actor is set for the sequence, which does trigger a CLUTTER_ENTER event, crossing events are also sent when the touch drifts across actors, but when CLUTTER_TOUCH_END is gotten, there is no attempt to unset the actor nor send the final CLUTTER_LEAVE event for the device, which leaves "prelighted" actors, if those do react to crossing events. I'm attaching a patch to fix that.
Created attachment 281384 [details] [review] 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.
Review of attachment 281384 [details] [review]: looks good.
Attachment 281384 [details] pushed as 0c0c069 - input-device: Ensure crossing events are paired for touch sequences