Experimenting with having more status indicators than just whether the client is floating or not

This commit is contained in:
bakkeby
2020-09-16 11:07:23 +02:00
parent b8dc848918
commit 7275ca47ff
9 changed files with 46 additions and 15 deletions

View File

@@ -53,8 +53,7 @@ draw_fancybar(Bar *bar, BarArg *a)
drw_setscheme(drw, scheme[m->sel == c ? SchemeTitleSel : SchemeTitleNorm]);
if (ftw > 0) /* trap special handling of 0 in drw_text */
drw_text(drw, x, a->y, ftw, a->h, lrpad / 2, c->name, 0, False);
if (c->isfloating)
drawindicator(c->mon, c, 1, x, a->y, w, a->h, 0, 0, c->isfixed, floatindicatortype);
drawstateindicator(c->mon, c, 1, x, a->y, w, a->h, 0, 0, c->isfixed);
x += ftw;
w -= ftw;
}