diff --git a/dwm.c b/dwm.c index 8d2eaab..e7965c4 100644 --- a/dwm.c +++ b/dwm.c @@ -995,7 +995,7 @@ drawbar(Monitor *m) drw_setscheme(drw, scheme[SchemeWf]); x = drw_text(drw, x, 0, w, bh, lrpad / 2, wfsymbol, 0); - if ((w = m->ww - tw - x) > bh) { + if ((w = m->ww - tw - x - sp * 2) > bh) { if (n > 0) { int remainder = w % n; int tabw = (1.0 / (double)n) * w + 1;