ignore seats that don't belong to a bar
This commit is contained in:
parent
16b7dd0052
commit
1ef3e3a0dc
1 changed files with 2 additions and 0 deletions
2
dam.c
2
dam.c
|
@ -161,6 +161,8 @@ bar_draw(Bar *bar)
|
|||
}
|
||||
|
||||
wl_list_for_each(seat, &seats, link) {
|
||||
if (seat->bar != bar)
|
||||
continue;
|
||||
w = TEXTW(bar, seat->mode);
|
||||
drwl_setscheme(bar->drw, colors[SchemeNorm]);
|
||||
x = drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, seat->mode, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue