summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_wintitle.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_wintitle.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_wintitle.c')
-rw-r--r--patch/bar_wintitle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/patch/bar_wintitle.c b/patch/bar_wintitle.c
index ae2efce..1e9fb77 100644
--- a/patch/bar_wintitle.c
+++ b/patch/bar_wintitle.c
@@ -38,8 +38,7 @@ draw_wintitle(Bar *bar, BarArg *a)
XSync(dpy, False);
XSetErrorHandler(xerror);
#endif // BAR_IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH
- if (m->sel->isfloating)
- drawindicator(m, m->sel, 1, x, a->y, w, a->h, 0, 0, m->sel->isfixed, floatindicatortype);
+ drawstateindicator(m, m->sel, 1, x, a->y, w, a->h, 0, 0, m->sel->isfixed);
return 1;
}