commit 9e0e41978125213d4469a30d05047a3484b13a7d
parent f0bad9ac44ec2785e8efa8a5c42800db2e6d409e
Author: Bakkeby <bakkeby@gmail.com>
Date: Thu, 28 Jul 2022 15:48:40 +0200
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)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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