mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 04:30:10 +00:00
Fix #195
This commit is contained in:
parent
e12789a57e
commit
979523b5ca
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user