diff options
Diffstat (limited to 'src/dwminfo.c')
| -rw-r--r-- | src/dwminfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dwminfo.c b/src/dwminfo.c index 8e04b43..f589355 100644 --- a/src/dwminfo.c +++ b/src/dwminfo.c @@ -34,7 +34,7 @@ static void update_status(struct state * s) { text_update(s->text); - XStoreName(s->display, s->window, s->text->value); + XStoreName(s->display, s->window, text_get_val(s->text)); XSync(s->display, 1); } @@ -43,7 +43,7 @@ run_loop(struct state * s) { while(signal_running) { update_status(s); - usleep(1000 * 500); + usleep(1000 * 1000); } } |
