Skip to content

[build.zig] Make X11 the default display backend instead of choosing at runtime - #5168

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
Not-Nik:zig-x11-default
Sep 3, 2025
Merged

[build.zig] Make X11 the default display backend instead of choosing at runtime#5168
raysan5 merged 1 commit into
raysan5:masterfrom
Not-Nik:zig-x11-default

Conversation

@Not-Nik

@Not-Nik Not-Nik commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

In line with Makefiles (#4369) and Make (#4432) this makes X11 the default Linux display backend again, instead of choosing one at runtime, where it would prefer Wayland over X11. The reasoning is explained further here (#4371) and here (#5165)

Fixes #5165

@raysan5
raysan5 merged commit b7eda81 into raysan5:master Sep 3, 2025
2 checks passed
@raysan5

raysan5 commented Sep 3, 2025

Copy link
Copy Markdown
Owner

@Not-Nik Thank you very much for the review!

mjhanninen pushed a commit to mjhanninen/raylib that referenced this pull request Sep 9, 2025
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.

[rcore] Setting Window Icon does not work when building with zig toolchain (Zig build should use X11 by default as done in CMake setup)

2 participants