CtrlCore: gtk3 now compiles in squeeze

git-svn-id: svn://ultimatepp.org/upp/trunk@14176 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-03-18 13:16:42 +00:00
parent 461fbf3efc
commit 6328ab2f1d

View file

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