Skip to content

Conversation

@PumpkinXD
Copy link
Contributor

The previous check using glfwPlatformSupported was insufficient as it only tests compilation support, not the active session type. This caused false positives on systems with Wayland-enabled GLFW libraries on X11 sessions.

Now also verify the XDG_SESSION_TYPE environment variable to ensure an actual Wayland session is active, preventing the crash on x11.

Fix: #73

The previous check using `glfwPlatformSupported` was insufficient as it only tests compilation support, not the active session type. This caused false positives on systems with Wayland-enabled GLFW libraries on X11 sessions.

Now also verify the XDG_SESSION_TYPE environment variable to ensure an actual Wayland session is active, preventing the crash on x11.

Fix: not-coded#73
@not-coded not-coded merged commit cc2433e into not-coded:multiloader Dec 29, 2025
1 check passed
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.

wayfix crashes on x11

2 participants