From 04c6d45ac06966201740bad9db50cb4ccc5a04ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 3 Mar 2008 17:00:00 +0100 Subject: [PATCH] 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 --- openbox/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.44.0