[wiki] [sites] [dwm] [patch] double gaps between centeredmaster and clients left and right fixed || Aaron Duxler
commit 84d27485ec6cd641bcc9ce838f1af528c0cc7337
Author: Aaron Duxler <aaron.duxler_AT_gmail.com>
Date: Mon May 27 14:13:57 2019 +0200
[dwm] [patch] double gaps between centeredmaster and clients left and right fixed
diff --git a/dwm.suckless.org/patches/ru_gaps/dwm-ru_centeredmaster-6.2.diff b/dwm.suckless.org/patches/ru_gaps/dwm-ru_centeredmaster-6.2.diff
index 4f2d23df..8ec90c04 100644
--- a/dwm.suckless.org/patches/ru_gaps/dwm-ru_centeredmaster-6.2.diff
+++ b/dwm.suckless.org/patches/ru_gaps/dwm-ru_centeredmaster-6.2.diff
_AT_@ -68,7 +68,7 @@ diff -up a/dwm.c b/dwm.c
+ /* nmaster clients are stacked vertically, in the center
+ * of the screen */
+ h = (m->wh - my) / (MIN(n, m->nmaster) - i) - m->gappx;
-+ resize(c, m->wx + mx + m->gappx, m->wy + my + m->gappx, mw - 2*(c->bw + m->gappx),
++ resize(c, m->wx + mx + m->gappx/2, m->wy + my + m->gappx, mw - 2*(c->bw + m->gappx/2),
+ h - (2*c->bw) - m->gappx, 0);
+ my += HEIGHT(c) + m->gappx;
+ } else {
Received on Mon May 27 2019 - 14:12:16 CEST
This archive was generated by hypermail 2.3.0
: Mon May 27 2019 - 14:12:31 CEST