Answered by
gen2brain
Aug 1, 2026
Replies: 1 comment 1 reply
|
By default, raylib C uses X11; you need to explicitly enable Wayland. With raylib-go, it is auto-detected. You can build with |
1 reply
Answer selected by
kerudev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



By default, raylib C uses X11; you need to explicitly enable Wayland. With raylib-go, it is auto-detected. You can build with
-tags x11to get the same as with C. Or, you can build with-tags waylandto build/link only for Wayland. What you are seeing is classic GNOME issues they call "features": CSD-only window decorations, and they do not supportxdg-toplevel-icon-v1like, e.g., KDE; you must have a .desktop file with an icon, etc. All in all, as I wrote, to get the same (X11/XWayland) build with-tags x11.