This commit is contained in:
kanjitalk755 2024-03-29 21:11:46 +09:00
parent e12789a57e
commit 979523b5ca
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ static bool init_sdl()
assert(sdl_flags != 0);
#ifdef USE_SDL_VIDEO
#if REAL_ADDRESSING && !defined(__MACOSX__)
#if REAL_ADDRESSING && defined(GDK_WINDOWING_WAYLAND)
// Needed to fix a crash when using Wayland
// Forces use of XWayland instead
setenv("SDL_VIDEODRIVER", "x11", true);