bar: generic setup shouldn't be done by a backend

This commit is contained in:
Daniel Eklöf 2019-01-29 21:02:10 +01:00
parent c2e7b1c507
commit 4954479e11
2 changed files with 2 additions and 2 deletions

View file

@ -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;