From 9e0e41978125213d4469a30d05047a3484b13a7d Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Thu, 28 Jul 2022 15:48:40 +0200 Subject: [PATCH] xresources reload: should close the display after being finished with the connection (if not then it can cause "Maximum amount of clients reached" errors after some time) --- patch/xresources.c | 1 + 1 file changed, 1 insertion(+) diff --git a/patch/xresources.c b/patch/xresources.c index f119ed7..9e72736 100644 --- a/patch/xresources.c +++ b/patch/xresources.c @@ -63,5 +63,6 @@ reload_config(int sig) config_init(dpy); xloadcols(); redraw(); + XCloseDisplay(dpy); } #endif // XRESOURCES_RELOAD_PATCH