GNOME Bugzilla – Bug 750496
Touch events not correctly propagated through gdk backend
Last modified: 2015-06-11 14:08:20 UTC
The GDK backend seems mostly prepared to handle touch events, I found a couple of buglets that didn't make them work fully alright though. Attaching patches for these.
Created attachment 304704 [details] [review] gdk: Ignore synthesized leave events out of touch events Certain crossing modes notify about synthesized events, where the pointer didn't really leave the window. Unsetting the stage from the device at that time is incorrect, and will leave all remaining touches unable to pick coordinates, so silently eaten away.
Created attachment 304705 [details] [review] gdk: Enable GDK_TOUCH_MASK on the stage window This allows touch events to be received and translated.
Review of attachment 304704 [details] [review]: Okay.
Review of attachment 304705 [details] [review]: Okay.
Attachment 304704 [details] pushed as 7ed3714 - gdk: Ignore synthesized leave events out of touch events Attachment 304705 [details] pushed as 2105055 - gdk: Enable GDK_TOUCH_MASK on the stage window