diff options
-rw-r--r-- | mate-session/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-session/main.c b/mate-session/main.c index 1039368..d51aaf2 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -597,6 +597,9 @@ int main(int argc, char** argv) mdm_log_init(); mdm_log_set_debug(debug); + if (g_getenv ("XDG_CURRENT_DESKTOP") == NULL) + gsm_util_setenv ("XDG_CURRENT_DESKTOP", "MATE"); + /* Set DISPLAY explicitly for all our children, in case --display * was specified on the command line. */ |