aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-24 18:20:36 +0100
committerJoe <rbo@gmx.us>2024-12-24 18:20:36 +0100
commite4bc96f8b8b87debfe5e48f026183d80ff31518f (patch)
treec35bb67249f724cea9c572d5e9578672c9aea11d
parentfuck thi (diff)
downloaddwm-e4bc96f8b8b87debfe5e48f026183d80ff31518f.tar.gz
dwm-e4bc96f8b8b87debfe5e48f026183d80ff31518f.tar.bz2
dwm-e4bc96f8b8b87debfe5e48f026183d80ff31518f.tar.xz
dwm-e4bc96f8b8b87debfe5e48f026183d80ff31518f.tar.zst
dwm-e4bc96f8b8b87debfe5e48f026183d80ff31518f.zip
gaps on grid somehow
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}