From 979523b5caf22a6d4c33090095b1eb91ebcdebe3 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Fri, 29 Mar 2024 21:11:46 +0900 Subject: [PATCH] Fix #195 --- SheepShaver/src/Unix/main_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index 0db0cd01..15fce115 100755 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -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);