bar: refresh before starting the main loop #117

Manually merged
dnkl merged 1 commits from bar-initial-refresh into master 3 months ago
  1. 4
      CHANGELOG.md
  2. 1
      bar/bar.c

4
CHANGELOG.md

@ -12,6 +12,8 @@
### Added
* ramp: can now have custom min and max values
(https://codeberg.org/dnkl/yambar/issues/103).
### Changed
* Made `libmpdclient` an optional dependency
@ -29,6 +31,8 @@
affected the “backlight”, “battery” and “removables” modules
(https://codeberg.org/dnkl/yambar/issues/109).
* foreign-toplevel: update bar when a top-level is closed.
* Bar not being mapped on an output before at least one module has
“refreshed” it (https://codeberg.org/dnkl/yambar/issues/116).
### Security

1
bar/bar.c

@ -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…
Cancel
Save