From a0d0d123a7639fd5b7b5050c817fe4c2413cf29c Mon Sep 17 00:00:00 2001 From: pgrondek Date: Mon, 1 Jun 2020 01:35:59 +0200 Subject: [PATCH] Fix bottom gapp in stac --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 5b3b6ed..d10b3e9 100644 --- a/dwm.c +++ b/dwm.c @@ -1941,7 +1941,7 @@ col(Monitor *m) { x += WIDTH(c) + m->gappx; } else { - h = (m->wh - y) / (n - i); + h = (m->wh - y) / (n - i) - m->gappx; resize(c, x + m->wx + m->gappx, m->wy + y, m->ww - x - (2*c->bw) - (2*m->gappx), h - (2*c->bw), False); y += HEIGHT(c) + m->gappx; }