From 3f7fa8a8ee9d2ce7cfb729b363a36d232cb17556 Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 23 Jan 2025 12:16:46 -0500 Subject: [PATCH] fix tab bar overlap issue --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;