summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 6a5f1a6..93f91a0 100644
--- a/session.c
+++ b/session.c
@@ -893,7 +893,7 @@ sessionSessionEvent (CompCore *c,
processors show a 'do you want to save' dialog on session
shutdown */
saveSession = FALSE;
- } else if (shutdown && fast && saveType == SmSaveLocal &&
+ } else if (!shutdown && !fast && saveType == SmSaveLocal &&
interactStyle == SmInteractStyleNone)
{
/* ignore saveYourself after registering for the first time