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 linux_x11 block_on_wait #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bolphen
Copy link

@bolphen bolphen commented Jun 23, 2024

Currently for the linux_x11 backend, if block_on_wait is true, the main thread will be blocked until the next event. So if an event in this frame requests an update, the frame will not be updated until the next event (this happens for example for the mouse_button_up event sent by the touchscreen).

I think the correct behavior should be raise the count (to 1) only if there's no event in the current frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant