diff --git a/osu.Framework/Platform/Linux/LinuxGameHost.cs b/osu.Framework/Platform/Linux/LinuxGameHost.cs index a3faa2ab82..05566315c5 100644 --- a/osu.Framework/Platform/Linux/LinuxGameHost.cs +++ b/osu.Framework/Platform/Linux/LinuxGameHost.cs @@ -32,6 +32,7 @@ internal LinuxGameHost(string gameName, HostOptions options) protected override void SetupForRun() { SDL.SDL_SetHint(SDL.SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, BypassCompositor ? "1" : "0"); + SDL.SDL_SetHint("SDL_VIDEODRIVER", "wayland,x11"); base.SetupForRun(); }