Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix poll_events on x11 not draining completely #178

Merged
merged 1 commit into from
May 12, 2017

Conversation

jwilm
Copy link
Contributor

@jwilm jwilm commented May 12, 2017

If the interrupted flag were set going into poll_events, it would only
ever handle the first event in the queue. Now, the flag is reset at the
start so events are processed until the caller requests otherwise.

If the interrupted flag were set going into poll_events, it would only
ever handle the first event in the queue. Now, the flag is reset at the
start so events are processed until the caller requests otherwise.
@tomaka
Copy link
Contributor

tomaka commented May 12, 2017

Thanks

@tomaka tomaka merged commit c33bedc into rust-windowing:master May 12, 2017
@jwilm jwilm deleted the fix-x11-poll-events branch May 12, 2017 15:36
mitchmindtree added a commit to mitchmindtree/winit that referenced this pull request Jun 24, 2017
Includes:

- Recent removal of sync (breaking change) rust-windowing#191.
- Wayland fixes: rust-windowing#190, rust-windowing#188, rust-windowing#181
- X11 fixes: rust-windowing#174, rust-windowing#178,
madsmtm pushed a commit to madsmtm/winit that referenced this pull request Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants