summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-22 17:06:09 +0300
committermonsta <[email protected]>2015-12-22 17:06:55 +0300
commitf378fc76793ae0710e08bfb05b4b106a1f171a9c (patch)
treeabbde447b77bd30a2b7905e7953042942cc0e49f
parent53f698436f2111bf8655ad9039c6a93948e10028 (diff)
downloadcaja-f378fc76793ae0710e08bfb05b4b106a1f171a9c.tar.bz2
caja-f378fc76793ae0710e08bfb05b4b106a1f171a9c.tar.xz
set smclient mode to "no restart" when running as root or on other desktops
-rw-r--r--src/caja-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index b829bf62..95477789 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -483,6 +483,9 @@ main (int argc, char *argv[])
{
/* do not manage desktop when running as root or on other desktops */
no_desktop = TRUE;
+
+ /* set smclient mode to "no restart" when running as root or on other desktops */
+ egg_sm_client_set_mode (EGG_SM_CLIENT_MODE_NO_RESTART);
}
if (perform_self_check && remaining != NULL)