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

GlfwNativeWindow: Allow wayland window ptr to be read when GLFW is compiled with both X11 and Wayland #2156

Conversation

Beyley
Copy link
Contributor

@Beyley Beyley commented Apr 24, 2024

Summary of the PR

Currently if wayland is used we say its X11 with no window or display ptr

@Beyley Beyley requested a review from a team as a code owner April 24, 2024 03:41
@Beyley Beyley requested a review from Perksey April 24, 2024 03:41
Copy link
Member

@Perksey Perksey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Perksey Perksey enabled auto-merge (squash) April 24, 2024 03:58
@uwx
Copy link

uwx commented Apr 24, 2024

Nitpick: Methinks you should actually check the error code for GLFW_PLATFORM_UNAVAILABLE instead of just relying on the only possible errors being a sign that X11 is not to be used.

Besides that LGTM

@Perksey Perksey merged commit 2f07bf5 into main Apr 24, 2024
8 of 9 checks passed
@Perksey Perksey deleted the hotfix/fix-glfw-native-window-handles-LOLNathaniel-Scuttlebug-Paragoomba-Two-Legged-Black-Haired-Singularity-Three-Legged-Master-Roshi-Koopa-the-Quick-Everytime-Sometimes-Once-in-a-While branch April 24, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants