From: Dana Jansens Date: Mon, 3 Mar 2008 16:00:00 +0000 (+0100) Subject: use SmSaveGlobal to log out. this will make apps save their documents or whatever... X-Git-Tag: release-3.4.7-pre3~3^2~2 X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=04c6d45ac06966201740bad9db50cb4ccc5a04ef 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 --- diff --git a/openbox/session.c b/openbox/session.c index 4483c05..82e292b 100644 --- a/openbox/session.c +++ b/openbox/session.c @@ -809,7 +809,7 @@ void session_request_logout(gboolean silent) { if (sm_conn) { SmcRequestSaveYourself(sm_conn, - SmSaveBoth, + SmSaveGlobal, TRUE, /* logout */ (silent ? SmInteractStyleNone : SmInteractStyleAny),