From 9c53fb9f5dec6b4551ca5e0bc29093fe02b1bc88 Mon Sep 17 00:00:00 2001 From: George Tokmaji Date: Tue, 2 Jul 2024 21:20:36 +0200 Subject: [PATCH] Only allow x11 as GDK backend as LC uses raw X11 directly and won't work with Wayland --- src/C4WinMain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/C4WinMain.cpp b/src/C4WinMain.cpp index 9aed19a3a..ffff2c42f 100644 --- a/src/C4WinMain.cpp +++ b/src/C4WinMain.cpp @@ -272,6 +272,7 @@ int main(int argc, char *argv[]) // FIXME: This should only be done in developer mode. #ifdef WITH_DEVELOPER_MODE + gdk_set_allowed_backends("x11"); gtk_init(&argc, &argv); #endif