force X11

fixes running the terminal under wayland
master-1.22
raveit65 2017-01-08 09:47:19 +01:00
parent 575fc201f0
commit 8610425561
1 changed files with 2 additions and 0 deletions

View File

@ -555,6 +555,8 @@ main (int argc, char **argv)
working_directory = g_get_current_dir (); working_directory = g_get_current_dir ();
gdk_set_allowed_backends ("x11");
/* Now change directory to $HOME so we don't prevent unmounting, e.g. if the /* Now change directory to $HOME so we don't prevent unmounting, e.g. if the
* factory is started by caja-open-terminal. See bug #565328. * factory is started by caja-open-terminal. See bug #565328.
* On failure back to /. * On failure back to /.