summaryrefslogtreecommitdiff
path: root/src/twm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/twm.c')
-rw-r--r--src/twm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/twm.c b/src/twm.c
index 4be177c..1221bf8 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -905,6 +905,8 @@ Done(XtPointer client_data _X_UNUSED, XtSignalId *si2 _X_UNUSED)
Reborder(CurrentTime);
XCloseDisplay(dpy);
}
+
+ DestroySession();
exit(EXIT_SUCCESS);
}