force X11
fixes running the terminal under wayland
parent
537d09c86a
commit
35583b2b68
|
@ -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 /.
|
||||||
|
|
Loading…
Reference in New Issue