commit 5d0358f24663e120f32ec0973fe4ee023939b4a3
parent 54cc62fa0cbd2a909fa0084f84d77479ce369083
Author: Aaron Duxler <aaron.duxler@gmail.com>
Date: Wed, 26 Jun 2019 20:15:44 +0200
[dwm][patch] ru_gaps, centeredfloatingmaster, if all clients are in master area gap on the far left and gap on the far right should be same size now
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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
@@ -125,7 +125,7 @@ diff -up a/dwm.c b/dwm.c
+ mh = m->nmaster ? m->wh * m->mfact : 0;
+ mw = m->nmaster ? m->ww * 0.9 : 0;
+ }
-+ mx = mxo = (m->ww - mw) / 2;
++ mx = mxo = (m->ww - mw + m->gappx) / 2;
+ my = myo = (m->wh - mh) / 2;
+ } else {
+ /* go fullscreen if all clients are in the master area */