Skip to content

Commit a8c40bb

Browse files
committed
Only allow x11 as GDK backend as LC uses raw X11 directly and won't work with Wayland
1 parent 364893b commit a8c40bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/C4WinMain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ int main(int argc, char *argv[])
272272

273273
// FIXME: This should only be done in developer mode.
274274
#ifdef WITH_DEVELOPER_MODE
275+
gdk_set_allowed_backends("x11");
275276
gtk_init(&argc, &argv);
276277
#endif
277278

0 commit comments

Comments
 (0)