dwm consistency: filled rect when tag selected
This commit is contained in:
parent
c3c205d555
commit
4245df8e19
1 changed files with 2 additions and 1 deletions
3
dam.c
3
dam.c
|
@ -238,7 +238,8 @@ bar_draw(Bar *bar)
|
|||
drwl_setscheme(bar->drw, colors[bar->mtags & 1 << i ? SchemeSel : SchemeNorm]);
|
||||
drwl_text(bar->drw, x, 0, w, bar->height, bar->lrpad / 2, tags[i], bar->urg & 1 << i);
|
||||
if (bar->ctags & 1 << i)
|
||||
drwl_rect(bar->drw, x + boxs, boxs, boxw, boxw, 0,
|
||||
drwl_rect(bar->drw, x + boxs, boxs, boxw, boxw,
|
||||
bar->mtags & 1 << i && bar == selbar,
|
||||
bar->urg & 1 << i);
|
||||
x += w;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue