diff --git a/Code/Foundation/Shell.Desktop/SDL3ShellImpl.cpp b/Code/Foundation/Shell.Desktop/SDL3ShellImpl.cpp index 44f4afc28..8bee59062 100644 --- a/Code/Foundation/Shell.Desktop/SDL3ShellImpl.cpp +++ b/Code/Foundation/Shell.Desktop/SDL3ShellImpl.cpp @@ -372,6 +372,8 @@ namespace foundation::shell core::Result SDL3WindowManager::CreateWindow(const WindowSettings& settings) { const core::String title = core::String(settings.title); + // By default, SDL bypasses the compositor on X11. We don't want that so we set the hint to 0. + SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0"); SDL_Window* window = SDL_CreateWindow( reinterpret_cast(title.CStr()), static_cast(settings.width), static_cast(settings.height), Sdl3WindowFlags(settings));