[wiki] [sites] [patch][dwm] cfacts bug fix || Aaron Duxler
commit 1693f21f626d8889c45f19bd9ec299131c4ceec4
Author: Aaron Duxler <aaron.duxler_AT_gmail.com>
Date: Tue Jun 4 10:10:43 2019 +0200
[patch][dwm] cfacts bug fix
diff --git a/dwm.suckless.org/patches/cfacts/dwm-cfacts-6.1.diff b/dwm.suckless.org/patches/cfacts/dwm-cfacts-6.1.diff
index 07f259ab..ee3d13c9 100644
--- a/dwm.suckless.org/patches/cfacts/dwm-cfacts-6.1.diff
+++ b/dwm.suckless.org/patches/cfacts/dwm-cfacts-6.1.diff
_AT_@ -92,7 +92,7 @@ index 0362114..881afe6 100644
+ mfacts -= c->cfact;
} else {
- h = (m->wh - ty) / (n - i);
-+ h = (m->wh - ty) / (c->cfact / sfacts);
++ h = (m->wh - ty) * (c->cfact / sfacts);
resize(c, m->wx + mw, m->wy + ty, m->ww - mw - (2*c->bw), h - (2*c->bw), 0);
ty += HEIGHT(c);
+ sfacts -= c->cfact;
Received on Tue Jun 04 2019 - 10:08:19 CEST
This archive was generated by hypermail 2.3.0
: Tue Jun 04 2019 - 10:12:26 CEST