mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-22 18:25:38 +02:00
bar: generic setup shouldn't be done by a backend
This commit is contained in:
parent
c2e7b1c507
commit
4954479e11
2 changed files with 2 additions and 2 deletions
|
@ -230,6 +230,8 @@ run(struct bar *_bar)
|
|||
{
|
||||
struct private *bar = _bar->private;
|
||||
|
||||
bar->height_with_border = bar->height + 2 * bar->border.width;
|
||||
|
||||
if (!bar->backend.iface->setup(_bar))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue