diff options
author | Ali H. Fardan <raiz@firemail.cc> | 2016-09-05 02:17:30 +0300 |
---|---|---|
committer | Ali H. Fardan <raiz@firemail.cc> | 2016-09-05 02:17:30 +0300 |
commit | 720328cef9a9d81d2bd876bdf89103782b9cab91 (patch) | |
tree | 8d807da199dd3816b585c51e77158b0412c18952 /slstatus.c | |
parent | b9b6486cda91051553c9f9d7be75468c64206eec (diff) |
what kind of weed is that?
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -601,7 +601,6 @@ main(void) char *res, *element; struct arg argument; - stderr = stderr; dpy = XOpenDisplay(NULL); for (;;) { @@ -621,10 +620,9 @@ main(void) free(res); free(element); } + XStoreName(dpy, DefaultRootWindow(dpy), status_string); + XSync(dpy, False); } - - XStoreName(dpy, DefaultRootWindow(dpy), status_string); - XSync(dpy, False); XCloseDisplay(dpy); return 0; |