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)

This commit is contained in:
Bakkeby 2022-07-28 15:48:40 +02:00
parent f0bad9ac44
commit 9e0e419781
1 changed files with 1 additions and 0 deletions

View File

@ -63,5 +63,6 @@ reload_config(int sig)
config_init(dpy); config_init(dpy);
xloadcols(); xloadcols();
redraw(); redraw();
XCloseDisplay(dpy);
} }
#endif // XRESOURCES_RELOAD_PATCH #endif // XRESOURCES_RELOAD_PATCH