diff options
Diffstat (limited to 'src/caja-main.c')
-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) |