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:
parent
f0bad9ac44
commit
9e0e419781
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue