Fixed XCloseDisplay() which is not reached in keyboard_indicators()
Aaron Marcher info@nulltime.net
Mon, 23 Jan 2017 21:01:41 +0100
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -329,6 +329,7 @@ {
Display *dpy = XOpenDisplay(NULL); XKeyboardState state; XGetKeyboardControl(dpy, &state); + XCloseDisplay(dpy); switch (state.led_mask) { case 1:@@ -343,8 +344,6 @@ break;
default: return smprintf(""); } - - XCloseDisplay(dpy); } static char *