summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_fancybar.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-16 11:07:23 +0200
committerbakkeby <[email protected]>2020-09-16 11:07:23 +0200
commit7275ca47ffe049fd2dbf60c606ef2cf2d909b6c6 (patch)
treef321fdab9f49c9b84ff611237f8968f729457bbe /patch/bar_fancybar.c
parentb8dc848918d7a07412d5fb1be74a9ac44862a028 (diff)
downloaddwm-flexipatch-7275ca47ffe049fd2dbf60c606ef2cf2d909b6c6.tar.gz
dwm-flexipatch-7275ca47ffe049fd2dbf60c606ef2cf2d909b6c6.zip
Experimenting with having more status indicators than just whether the client is floating or not
Diffstat (limited to 'patch/bar_fancybar.c')
-rw-r--r--patch/bar_fancybar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/patch/bar_fancybar.c b/patch/bar_fancybar.c
index 2b5ce72..e4efbb1 100644
--- a/patch/bar_fancybar.c
+++ b/patch/bar_fancybar.c
@@ -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;
}