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

Event waiting with no windows documentation / code discrepancy #1317

Open
dougbinks opened this Issue Aug 27, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@dougbinks
Contributor

dougbinks commented Aug 27, 2018

Currently the event processing documentation states that:

Even when you have no windows, event polling needs to be done in order to receive monitor connection events.

However the code for both glfwWaitEvents() and glfwPostEmptyEvent() require a window present to work. This should likely either be documented or fixed. See this thead on event loops without windows for reasoning behind why it might be preferable to handle this by making the event loop work without windows if this is possible on all platforms.

This appears to be related to issue #1281.

I would be able to handle the windows implementation, but am not familiar enough with the other backend event processing (I know it's a bit of a minefield from experience) if a fix is desired.

@elmindreda elmindreda self-assigned this Oct 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment