summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 09:47:19 +0100
committerraveit65 <[email protected]>2017-01-27 09:33:47 +0100
commit35583b2b688a580a4d824112e45e39a1436d55e5 (patch)
tree39b139df9ef487272d1c50391b594c091c5b3c84 /src
parent537d09c86a41c2cf2766f98b9a380e25e929f44b (diff)
downloadmate-terminal-35583b2b688a580a4d824112e45e39a1436d55e5.tar.bz2
mate-terminal-35583b2b688a580a4d824112e45e39a1436d55e5.tar.xz
force X11
fixes running the terminal under wayland
Diffstat (limited to 'src')
-rw-r--r--src/terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 5379edb..fd39e13 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -555,6 +555,8 @@ main (int argc, char **argv)
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
* factory is started by caja-open-terminal. See bug #565328.
* On failure back to /.