summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-view.h
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-09 16:30:21 -0400
committerlukefromdc <[email protected]>2016-10-09 16:30:21 -0400
commitbe0f17ff55061ab43636449f4d15a89e418d1f3c (patch)
treeb53e172ffbdad99f22c4a7d85dd49e2154fe1e87 /libcaja-private/caja-view.h
parent9e5ea15d104720cfee752c193b77f8b03558c6b9 (diff)
downloadcaja-be0f17ff55061ab43636449f4d15a89e418d1f3c.tar.bz2
caja-be0f17ff55061ab43636449f4d15a89e418d1f3c.tar.xz
GtkApplication: Disable session management when root/not in MATE
Limit session management to non-root sessions within MATE to stop restart loops in root sessions and inablity to kill off Caja in non-mate sessions such as XFCE. Also remove the autostarted hold-in previously used to stop restart loops. egg_sm_client_set_mode only works when called before the main loop starts, thus it cannot be used in GtkApplication startup functions or otherwise later in the program. Note that this commit restores the Caja 3.16 and earlier restart loop in normal mate sessions if a user disables icons on the desktop, then sets exit_with_last_window. The combination is the default for root/not in mate sessions though, so without the ability to set "no restart" later than the start of the main loop, session management outside of MATE and in root sessions has to be disabled.
Diffstat (limited to 'libcaja-private/caja-view.h')
0 files changed, 0 insertions, 0 deletions