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:
parent
3c7636afb1
commit
04c6d45ac0
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ void session_request_logout(gboolean silent)
|
||||||
{
|
{
|
||||||
if (sm_conn) {
|
if (sm_conn) {
|
||||||
SmcRequestSaveYourself(sm_conn,
|
SmcRequestSaveYourself(sm_conn,
|
||||||
SmSaveBoth,
|
SmSaveGlobal,
|
||||||
TRUE, /* logout */
|
TRUE, /* logout */
|
||||||
(silent ?
|
(silent ?
|
||||||
SmInteractStyleNone : SmInteractStyleAny),
|
SmInteractStyleNone : SmInteractStyleAny),
|
||||||
|
|
Loading…
Reference in a new issue