bringed back the loop
This commit is contained in:
parent
52d19f955e
commit
a4beda8eb9
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue