From 288ce2788ab49f05a88fb16eccdc12a4271560d5 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 22 Dec 2015 17:06:09 +0300 Subject: set smclient mode to "no restart" when running as root or on other desktops --- src/caja-main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) -- cgit v1.2.1