8000 Add GLFW_FULLSCREEN to supported window attributes (for X11) by Minterl · Pull Request #2682 · glfw/glfw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add GLFW_FULLSCREEN to supported window attributes (for X11) #2682

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Minterl
Copy link
@Minterl Minterl commented Feb 3, 2025

Only implements the functionality for X11.
Falls back to the null platform implementation (returns 0) for all other platforms.

@Minterl Minterl requested a review from elmindreda as a code owner February 3, 2025 18:39
@Minterl Minterl marked this pull request as draft February 3, 2025 18:41
@Minterl Minterl marked this pull request as ready for review February 3, 2025 18:43
@dougbinks
Copy link
Contributor

The GFLW API currently has glfwGetWindowMonitor which returns the handle of the monitor that the specified window is in full screen on. So if this returns NULL the window is not fullscreen, and if it is a pointer to a GLFWmonitor the window is fullscreen.

Does this PR provide something extra which the above function doesn't?

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.

2 participants
0