GNOME Bugzilla – Bug 766314
Spurious leave-notify event after touch up
Last modified: 2016-05-18 10:56:22 UTC
Created attachment 327689 [details] [review] Proposed patch On a touchscreen device after touch end both a leave-notify event iwth mode _TOUCH_END and one with mode _NORMAL occurred. Only the first one should happen.
Created attachment 327697 [details] [review] wayland: Avoid spurious crossing events from master touch device Only generate crossing events on wl_touch.down for the virtual master device used for touch events, and only whenever this virtual device actually moves across surfaces. This behavior resembles better what is expected in X11, where the pointer is warped to the touch position on XITouchBegin. This avoids the double emission of leave events when the pointer emulating touch is lifted, that crossing event will be instead generated when/if the focus surface changes.
Review of attachment 327697 [details] [review]: Looks good to me
Review of attachment 327697 [details] [review]: make sense
Attachment 327697 [details] pushed as 783c302 - wayland: Avoid spurious crossing events from master touch device