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.
parent
6c7a87be
Please register or sign in to comment