GNOME Bugzilla – Bug 691572
Touch: strengthen synthesized touch crossing events machinery against programmatic crossings
Last modified: 2013-01-15 16:54:22 UTC
There are cases where X sends crossing events with deviceid=sourceid, specially around moving/disappearing windows when the pointer is on top. Gdk already does some business at setting a meaningful source device on those events, but that's unfortunately confusing the machinery that blocks/synthesizes crossing events for touch devices, which may lead to extra enter/leave events in those cases that are unwanted after interacting with a touch device. I'm attaching a patch to fix that
Created attachment 233256 [details] [review] patch
Review of attachment 233256 [details] [review]: I'll have to trust you on this one, I don't have a touch device available here atm.
Thanks, the patch is now on master and gtk-3-6. It indeed helped fix an issue on sugar, I'll leave http://bugs.sugarlabs.org/ticket/4068#comment:9 for reference there, this patch is the last iteration on that bug.