From e4bc96f8b8b87debfe5e48f026183d80ff31518f Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 24 Dec 2024 18:20:36 +0100 Subject: gaps on grid somehow --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 6983f81..b8751cd 100644 --- a/dwm.c +++ b/dwm.c @@ -1951,7 +1951,7 @@ nrowgrid(Monitor *m) cw = (m->ww - uw) / (cols - ci); uw += cw; - resize(c, cx, cy, cw - 2 * c->bw, ch - 2 * c->bw, 0); + resize(c, cx + m->gappx, cy + m->gappx, cw - 2 * c->bw - 2 * m->gappx, ch - 2 * c->bw - 2 * m->gappx, 0); } } -- cgit v1.2.3