summaryrefslogtreecommitdiff
path: root/dwm-6.3/dwm.c
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-04-21 17:15:27 -0500
committerstkhan <personal@slickd.xyz>2022-04-21 17:15:27 -0500
commit6d5f8c137608df2e459c9865efa19c72856ed6e8 (patch)
treebde7ebb7e20ac737d10c25b6503228395645a8db /dwm-6.3/dwm.c
parentdf966cab682c913e8b62b460c9ef900e1046863f (diff)
added stuff:
Diffstat (limited to 'dwm-6.3/dwm.c')
-rw-r--r--dwm-6.3/dwm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dwm-6.3/dwm.c b/dwm-6.3/dwm.c
index 87ef17c..b9d29c3 100644
--- a/dwm-6.3/dwm.c
+++ b/dwm-6.3/dwm.c
@@ -872,9 +872,10 @@ drawbar(Monitor *m)
drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]);
drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i);
if (occ & 1 << i)
- drw_rect(drw, x + boxs, boxs, boxw, boxw,
- m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
- urg & 1 << i);
+ drw_rect(drw, x + boxw, 0, w - ( 2 * boxw + 1), boxw,
+ m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
+ urg & 1 << i);
+
x += w;
}
w = blw = TEXTW(m->ltsymbol);