GNOME Bugzilla – Bug 709762
ClutterDragAction can mix pointer and touch events
Last modified: 2013-10-14 16:45:12 UTC
Just preventing pointer and touch events mixing in begin/capture.
Created attachment 256846 [details] [review] drag-action: don't mix touch and pointer events
Review of attachment 256846 [details] [review]: this can only happen with pointer event emulated by touch devices, I guess. or mixing a drag with a touch screen with a pointer. care to elaborate a bit what kind of scenario would lead to mixing touch with pointer events? it would be great if you put it inside the commit message.
Indeed, I get emulated pointer event as well as touch event, so the DragAction ends up processing the same event coordinates twice. These events are emitted from the same device. I'm uploading a new patch that relaxes some of the tests since it's factorized at the beginning of the function.
Created attachment 257273 [details] [review] drag-action: don't mix touch and pointer events
Review of attachment 257273 [details] [review]: CR pass. please, commit to the clutter-1.16 branch.