diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dwm-muhgaps-6.2.diff | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/dwm-muhgaps-6.2.diff b/patches/dwm-muhgaps-6.2.diff index 2cdc340..6728be7 100644 --- a/patches/dwm-muhgaps-6.2.diff +++ b/patches/dwm-muhgaps-6.2.diff @@ -94,8 +94,8 @@ index 4465af1..88f3e04 100644 - resize(c, m->wx, m->wy + my, mw - (2*c->bw), h - (2*c->bw), 0); - my += HEIGHT(c); + r = MIN(n, m->nmaster) - i; -+ h = (m->wh - my - m->gappoh - m->gappx * (r - 1)) / r; -+ resize(c, m->wx + m->gappov, m->wy + my, mw - (2*c->bw) - m->gappx, h - (2*c->bw), 0); ++ h = (m->wh - my - m->gappx - m->gappx * (r - 1)) / r; ++ resize(c, m->wx + m->gappx, m->wy + my, mw - (2*c->bw) - m->gappx, h - (2*c->bw), 0); + my += HEIGHT(c) + m->gappx; } else { - h = (m->wh - ty) / (n - i); @@ -110,3 +110,4 @@ index 4465af1..88f3e04 100644 -- 2.7.4 +gappx |