summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 795a480e..fdaaa7b4 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -438,7 +438,9 @@ main (int argc, char *argv[])
g_set_prgname ("caja");
+#if GTK_CHECK_VERSION(3, 0, 0)
gdk_set_allowed_backends ("x11");
+#endif
if (g_file_test (DATADIR "/applications/caja.desktop", G_FILE_TEST_EXISTS))
{