SDL Tries Again To Prefer Wayland Over X11
Ethan Lee has re-merged the change to prefer Wayland over X11, when the SDL library is built with Wayland support enabled. The hope is now that the SDL code and the broader Wayland driver / compositor / associated ecosystem code is more mature and good enough to have it be used by default rather than going the X11/XWayland route. Of course, some games may still have hard X11 dependencies to deal with on their own.
The change has been merged to SDL mainline Git. SDL Git is where SDL3 development has now kicked off.
This change of Wayland over X11 by default is a nice change for the breaking SDL 3.0 release, which is where a lot of old/obsolete code is being removed, API improvements, possible PipeWire by default, and other significant changes are being made for SDL3 as what will be a big modernization upgrade over the very successful SDL2.