diff --git a/uppsrc/CtrlCore/GtkApp.cpp b/uppsrc/CtrlCore/GtkApp.cpp index 3604403cc..3a8bce506 100644 --- a/uppsrc/CtrlCore/GtkApp.cpp +++ b/uppsrc/CtrlCore/GtkApp.cpp @@ -55,7 +55,9 @@ int Ctrl::scale; void InitGtkApp(int argc, char **argv, const char **envptr) { LLOG(rmsecs() << " InitGtkApp"); +#if GTK_CHECK_VERSION(3, 10, 0) gdk_set_allowed_backends("x11"); // this fixes wayland issues +#endif EnterGuiMutex(); gtk_init(&argc, &argv);