bringed back the loop

This commit is contained in:
Ali H. Fardan 2016-09-05 01:21:03 +03:00
parent 52d19f955e
commit a4beda8eb9

View file

@ -604,6 +604,7 @@ main(void)
stderr = stderr;
dpy = XOpenDisplay(NULL);
for (;;) {
memset(status_string, 0, sizeof(status_string));
for (i = 0; i < sizeof(args) / sizeof(args[0]); ++i) {
argument = args[i];
@ -620,6 +621,7 @@ main(void)
free(res);
free(element);
}
}
XStoreName(dpy, DefaultRootWindow(dpy), status_string);
XSync(dpy, False);