forked from external/yambar
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:
parent
515b36da0d
commit
94a0154c23
2 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue