mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-18 23:07:07 -05:00
Build SDL's Wayland backend next to X11 and ask SDL for "wayland,x11" on Linux, so the window runs natively under a Wayland compositor instead of through XWayland. SDL loads libwayland, xkbcommon and libdecor at run time, so systems without them, or sessions without WAYLAND_DISPLAY, keep using X11. SDL_VIDEODRIVER still overrides the choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>