The SDL (Simple DirectMedia Layer) library codebase has adopted a default change that activates operation on the Wayland protocol in environments that provide simultaneous support for Wayland and X11. Previously, in Wayland environments with the XWayland component, output was activated using X11 by default, and to use Wayland, applications had to be launched with a special setting. This change will be included in the SDL 2.0.22 release planned for March. It is noted that for full operation of SDL-based applications on Wayland, the libdecor library is required for client-side window decoration.
Source: opennet.ru