use SmSaveGlobal to log out. this will make apps save their documents or whatever so that you don't lose things, but it won't take a snapshot of the current session

This commit is contained in:
Dana Jansens 2008-03-03 17:00:00 +01:00 committed by Mikael Magnusson
parent 3c7636afb1
commit 04c6d45ac0

View file

@ -809,7 +809,7 @@ void session_request_logout(gboolean silent)
{
if (sm_conn) {
SmcRequestSaveYourself(sm_conn,
SmSaveBoth,
SmSaveGlobal,
TRUE, /* logout */
(silent ?
SmInteractStyleNone : SmInteractStyleAny),