bar: refresh before starting the main loop

This ensures the bar surface gets mapped, and a background + border
rendered, even though no module “refreshes” it during initialization.

Closes #116
This commit is contained in:
Daniel Eklöf 2021-10-17 16:48:09 +02:00
parent 515b36da0d
commit 94a0154c23
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 0 deletions

View file

@ -323,6 +323,7 @@ run(struct bar *_bar)
LOG_DBG("all modules started");
refresh(_bar);
bar->backend.iface->loop(_bar, &expose, &on_mouse);
LOG_DBG("shutting down");