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-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=04c6d45ac06966201740bad9db50cb4ccc5a04ef;p=chaz%2Fopenbox 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 4483c051..82e292b3 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),