From 7abfd4e21a8a66400a4970b83f08d7856b67832e Mon Sep 17 00:00:00 2001 From: Antoine Fontaine Date: Fri, 26 Mar 2021 19:30:35 +0100 Subject: [PATCH] Disable wayland backend on Linux and BSD Better rely on XWayland for now. If someone wants to override it, set GDK_BACKEND=wayland --- radiant/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radiant/main.cpp b/radiant/main.cpp index ff141f6f..3df10170 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -506,7 +506,10 @@ int main( int argc, char* argv[] ){ #if GTK_TARGET == 3 // HACK: force legacy GL backend as we don't support GL3 yet setenv("GDK_GL", "LEGACY", 0); +#if GDEF_OS_LINUX || GDEF_OS_BSD + setenv("GDK_BACKEND", "x11", 0); #endif +#endif // GTK_TARGET == 3 crt_init(); streams_init(); -- 2.39.2