From 8e97ed8790f76f83831f0ee07783124a3d84aecd Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 12 Mar 2020 16:19:10 +0000 Subject: [PATCH] CtrlCore GTK: trying to fix wayland issues, by gdk_set_allowed_backends(x11); in InitGtkApp git-svn-id: svn://ultimatepp.org/upp/trunk@14160 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlCore/GtkApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uppsrc/CtrlCore/GtkApp.cpp b/uppsrc/CtrlCore/GtkApp.cpp index 3bf497a03..3604403cc 100644 --- a/uppsrc/CtrlCore/GtkApp.cpp +++ b/uppsrc/CtrlCore/GtkApp.cpp @@ -55,6 +55,8 @@ int Ctrl::scale; void InitGtkApp(int argc, char **argv, const char **envptr) { LLOG(rmsecs() << " InitGtkApp"); + gdk_set_allowed_backends("x11"); // this fixes wayland issues + EnterGuiMutex(); gtk_init(&argc, &argv);