[wiki] [sites] dwm patch ru_gaps fibonacci dwindle fix || Aaron Duxler
commit 32741440b943dea85c290c1573b6c1c316157d14
Author: Aaron Duxler <aaron.duxler_AT_gmail.com>
Date: Wed May 29 10:35:10 2019 +0200
dwm patch ru_gaps fibonacci dwindle fix
diff --git a/dwm.suckless.org/patches/ru_gaps/dwm-ru_fibonacci-6.2.diff b/dwm.suckless.org/patches/ru_gaps/dwm-ru_fibonacci-6.2.diff
index 19ac4681..64fd8b99 100644
--- a/dwm.suckless.org/patches/ru_gaps/dwm-ru_fibonacci-6.2.diff
+++ b/dwm.suckless.org/patches/ru_gaps/dwm-ru_fibonacci-6.2.diff
_AT_@ -74,7 +74,7 @@ diff -upN a/fibonacci.c b/fibonacci.c
+ nw = mon->ww - nw - mon->gappx;
+ i++;
+ }
-+ if(i <= 4 && (i!=2 || n==2))
++ if((s == 0 && i <= 4 && (i!=2 || n==2)) || (s==1 && (i%2==1 || i==n)))
+ resize(c, nx + mon->gappx, ny, nw - 2 * (c->bw) - mon->gappx, nh - 2 * (c->bw) - 2*mon->gappx, False);
+ else
+ resize(c, nx + mon->gappx, ny, nw - 2 * (c->bw) - mon->gappx, nh - 2 * (c->bw) - mon->gappx, False);
Received on Wed May 29 2019 - 10:32:55 CEST
This archive was generated by hypermail 2.3.0
: Wed May 29 2019 - 10:36:27 CEST