From 0c4e89d73ec59cdbdf4d31bc71d3cf519445f15d Mon Sep 17 00:00:00 2001 From: uint Date: Thu, 4 Dec 2025 09:44:00 +0000 Subject: free cursors before closing dpy --- src/sxwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sxwm.c b/src/sxwm.c index 23a5544..934f87a 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -1943,10 +1943,10 @@ void quit(void) */ XSync(dpy, False); - XCloseDisplay(dpy); XFreeCursor(dpy, cursor_move); XFreeCursor(dpy, cursor_normal); XFreeCursor(dpy, cursor_resize); + XCloseDisplay(dpy); puts("quitting..."); running = False; } -- cgit v1.2.3