summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-22 17:06:09 +0300
committermonsta <[email protected]>2015-12-23 15:41:16 +0300
commit288ce2788ab49f05a88fb16eccdc12a4271560d5 (patch)
treeff80ef81eea89ebfa366cd52cf7c3ea49cb230a4
parent1579bea75bc962dcaa29426cdf60ac3690a94ad3 (diff)
downloadcaja-288ce2788ab49f05a88fb16eccdc12a4271560d5.tar.bz2
caja-288ce2788ab49f05a88fb16eccdc12a4271560d5.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)