-
-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: actually catch up with the X server
The intention of `handle_pending_updates` has always been: locking the X server then read all events from it, so we can catch up with the server. What I failed to notice is that, `handle_pending_x_events` doesn't actually read all events from X! It only processes what were already in libxcb's queue. Which results in we being out-of-sync with X. This commit makes sure we actually do read all events from X. Signed-off-by: Yuxuan Shui <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters