summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-08 09:47:19 +0100
committerraveit65 <[email protected]>2017-01-08 10:37:07 +0100
commit861042556101aedb06f31c1a8b95a1ad79f1995e (patch)
treed6de6e669cd965b592e5b726d8d58450b7de5273 /src/terminal.c
parent575fc201f08cefecf469344ba3b2b02f1174fbc1 (diff)
downloadmate-terminal-861042556101aedb06f31c1a8b95a1ad79f1995e.tar.bz2
mate-terminal-861042556101aedb06f31c1a8b95a1ad79f1995e.tar.xz
force X11
fixes running the terminal under wayland
Diffstat (limited to 'src/terminal.c')
-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 /.