bringed back the loop

This commit is contained in:
Ali H. Fardan 2016-09-05 01:21:03 +03:00
parent 52d19f955e
commit a4beda8eb9
1 changed files with 16 additions and 14 deletions

View File

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