GNOME Bugzilla – Bug 756749
click action: Only cancel long press on motions/updates from the right devices
Last modified: 2015-10-17 16:47:24 UTC
In ClutterGestureAction event handler, it does correctly check for the event coming from the right device/sequence for press/release events (both touch and pointer), but forgets to do so on motion/update events, so it can end up triggering CLUTTER_LONG_PRESS_CANCEL when receiving motion from other devices (most likely far from the threshold). I'm attaching a patch fixing that.
Created attachment 313539 [details] [review] click-action: Ignore motions/updates from different devices/sequences Otherwise events from other devices or touch sequences might unintendedly trigger the thresholds, and ::cancelled with it.
Review of attachment 313539 [details] [review]: Looks good.
Cheers :), pushed. Attachment 313539 [details] pushed as 9753c99 - click-action: Ignore motions/updates from different devices/sequences