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
This commit is contained in:
cxl 2020-03-12 16:19:10 +00:00
parent 75740d0375
commit 8e97ed8790

View file

@ -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);