GNOME Bugzilla – Bug 730577
Do not compress touch events so eagerly
Last modified: 2014-05-22 12:58:03 UTC
If motion event compression happens on the stage, the code also tries to compress touch events, although the check is too broad, and unfortunately eats events from the sequences, only sending a single event for the last updated sequence. I'm attaching a patch that makes this only compress consecutive touch events from a same sequence, so all sequences are guaranteed to be emitted. This could be admittedly smarter and ensure only the last touch update is emitted for every sequence, but that'd involve peeking farther than the next event...
Created attachment 276982 [details] [review] stage: Only compress consecutive touch events from the same sequence And get CLUTTER_EVENT_LEAVE out of the touch event compression logic, as touches are always implicitly grabbed. If no sequence check is done, only the last touch update would be emitted, even if multiple sequences got updated.
Review of attachment 276982 [details] [review]: looks good. please, push to the clutter-1.20 and clutter-1.18 branches.
Attachment 276982 [details] pushed as ed538a6 - stage: Only compress consecutive touch events from the same sequence