bar: wayland: update bar size + refresh in output_done()

This ensures the bar's size (width) is updated when the screen
resolution (and/or scale) is changed.

Note that we already handled scale changes. This logic has been moved
from output_scale() to output_done().

Closes #330
This commit is contained in:
Daniel Eklöf 2024-01-03 15:39:04 +01:00
parent 9365580539
commit cdee55afed
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 17 additions and 14 deletions

View file

@ -31,9 +31,12 @@
* map: conditions failing to match when they contain multiple, quoted
tag values ([#302][302]).
* Crash when hidden by an opaque window.
* Bar not resizing itself when the screen resolution is changed
([#330][330]).
[311]: https://codeberg.org/dnkl/yambar/issues/311
[302]: https://codeberg.org/dnkl/yambar/issues/302
[330]: https://codeberg.org/dnkl/yambar/issues/330
### Security