summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sxwm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index f05971c..1c8fb74 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -941,7 +941,8 @@ parse_col(const char *hex)
return col.pixel;
}
-void quit (void)
+void
+quit(void)
{
for (int ws = 0; ws < NUM_WORKSPACES; ++ws) {
for (Client *c = workspaces[ws]; c; c = c->next) {
@@ -951,6 +952,9 @@ void quit (void)
}
XSync(dpy, False);
XCloseDisplay(dpy);
+ XFreeCursor(dpy, c_move);
+ XFreeCursor(dpy, c_normal);
+ XFreeCursor(dpy, c_resize);
errx(0, "quitting...");
}