diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-14 12:51:34 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-14 12:51:34 +0200 |
commit | 320aa08630f34dec0462bb60a5c813db17c5baf8 (patch) | |
tree | 3235798610793322d4ad11d6a08828634bf3ddf1 | |
parent | Formatted status script (diff) | |
download | dwm-320aa08630f34dec0462bb60a5c813db17c5baf8.tar.gz dwm-320aa08630f34dec0462bb60a5c813db17c5baf8.tar.bz2 dwm-320aa08630f34dec0462bb60a5c813db17c5baf8.zip |
Fixed muhgaps patch
-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 |