-
Committer:
Bileto Bot
-
Author(s):
Samuel Thibault
-
Date:
2017-11-16 03:24:27 UTC
-
mfrom:
(4133.1.2 motion-dup-fix)
-
Revision ID:
ci-train-bot@canonical.com-20171116032427-tuvh70x3073ia5o0
X11: keep the last MotionNotify when collapsing them
getNextXEvent collapses MotionNotify X11 events to avoid processing all of them
while only the latest one is useful.
The code was however actually returning the first MotionNotify instead of the
last one. This properly overwrites MotionNotify events with the latest one. (LP: #1728870)