diff options
| author | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
| commit | 4d3e462531d2172cb13319c7f79c0e2228e652fa (patch) | |
| tree | 6381426e806b30814890e74085afef17e3ee78f3 /src/dwminfo.c | |
| parent | b74a383e6ded85c122f98137936d78f768f8f938 (diff) | |
Big update
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); } } |
