~samuel-thibault/compiz/shortcuts

Viewing all changes in revision 4134.

  • Committer: Samuel Thibault
  • Date: 2017-10-26 17:02:38 UTC
  • Revision ID: samuel.thibault@ens-lyon.org-20171026170238-03zjl16xfld0qcur
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: