mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
75740d0375
commit
8e97ed8790
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue