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

Does the GLFW API allow for toggling an existing window fullscreen<->windowed? #523

Closed
dmitshur opened this issue May 30, 2015 · 2 comments
Assignees
Labels
question Please use the support label instead
Milestone

Comments

@dmitshur
Copy link
Collaborator

Hi, this is a question.

In the current GLFW API, is it possible to take an existing window that was opened in normal "windowed" mode and make it go "fullscreen" (either "windowed fullscreen" or otherwise) but without closing the existing window and opening a new window?

From my reading of http://www.glfw.org/docs/latest/window.html#window_creation, it sounds like the API does not provide such ability, is that correct? (Please let me know if the question is unclear.)

I just want to confirm that's the case. Perhaps I am missing something, maybe it's possible to do the above via glfwSetWindowSize or so.

The reason I ask is because there are some operating systems/platforms where it's possible to do such an operation without having to destroy the window and the associated GL context, and I'd like to see if I can implement such a backend while staying true to the GLFW API.

Thank you!

@elmindreda
Copy link
Member

Correct. This will be added by #43 in 3.2. The groundwork was laid in 3.1.

@elmindreda elmindreda added the question Please use the support label instead label May 30, 2015
@elmindreda elmindreda self-assigned this May 30, 2015
@dmitshur
Copy link
Collaborator Author

Excellent news, thank you!

@elmindreda elmindreda added this to the milestone May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Please use the support label instead
Projects
None yet
Development

No branches or pull requests

2 participants