summaryrefslogtreecommitdiff
path: root/src/caja-main.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-12-25 00:27:25 +0100
committerraveit65 <[email protected]>2017-01-08 08:05:45 +0100
commit9960403d634f42ad23d89bec6e0b57d4644a04fa (patch)
tree3d3401549b75716ceafb1861bdfa0722c1135d39 /src/caja-main.c
parent93ea0f43c767d00b20874dcf65d1ae168d669080 (diff)
downloadcaja-9960403d634f42ad23d89bec6e0b57d4644a04fa.tar.bz2
caja-9960403d634f42ad23d89bec6e0b57d4644a04fa.tar.xz
Force X11 backend
inspired from: https://github.com/linuxmint/nemo/commit/8242e27
Diffstat (limited to 'src/caja-main.c')
-rw-r--r--src/caja-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index 95477789..795a480e 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -438,6 +438,8 @@ main (int argc, char *argv[])
g_set_prgname ("caja");
+ gdk_set_allowed_backends ("x11");
+
if (g_file_test (DATADIR "/applications/caja.desktop", G_FILE_TEST_EXISTS))
{
egg_set_desktop_file (DATADIR "/applications/caja.desktop");