diff options
author | monsta <[email protected]> | 2015-12-22 17:06:09 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-23 15:41:16 +0300 |
commit | 288ce2788ab49f05a88fb16eccdc12a4271560d5 (patch) | |
tree | ff80ef81eea89ebfa366cd52cf7c3ea49cb230a4 /src | |
parent | 1579bea75bc962dcaa29426cdf60ac3690a94ad3 (diff) | |
download | caja-288ce2788ab49f05a88fb16eccdc12a4271560d5.tar.bz2 caja-288ce2788ab49f05a88fb16eccdc12a4271560d5.tar.xz |
set smclient mode to "no restart" when running as root or on other desktops
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-main.c | 3 |
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) |