summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index 1de9fa29..4307e0f3 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -465,6 +465,10 @@ main (int argc, char *argv[])
no_default_window = TRUE;
no_desktop = FALSE;
}
+ else if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") != 0)
+ {
+ no_desktop = TRUE;
+ }
if (perform_self_check && remaining != NULL)
{