[wiki] [sites] [dwm][patch] ru_gaps bottomstack border fix if nmaster is 0 || Aaron Duxler
commit e462acb9e3e23c9ae6aa015095339c080af7f0ff
Author: Aaron Duxler <aaron.duxler_AT_gmail.com>
Date: Thu May 30 15:45:14 2019 +0200
[dwm][patch] ru_gaps bottomstack border fix if nmaster is 0
diff --git a/dwm.suckless.org/patches/ru_gaps/dwm-ru_bottomstack-6.2.diff b/dwm.suckless.org/patches/ru_gaps/dwm-ru_bottomstack-6.2.diff
index 24b2d5fc..f518fa58 100644
--- a/dwm.suckless.org/patches/ru_gaps/dwm-ru_bottomstack-6.2.diff
+++ b/dwm.suckless.org/patches/ru_gaps/dwm-ru_bottomstack-6.2.diff
_AT_@ -52,7 +52,7 @@ diff -up ru_applied/dwm.c ru_bottom_stack/dwm.c
+ }
+
+ if (n > m->nmaster)
-+ mh = m->nmaster ? m->wh * m->mfact : 0;
++ mh = m->nmaster ? m->wh * m->mfact : m->gappx;
+ else
+ mh = m->wh;
+ for (i = 0, mx = tx = m->gappx, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++)
_AT_@ -83,7 +83,7 @@ diff -up ru_applied/dwm.c ru_bottom_stack/dwm.c
+ }
+
+ if (n > m->nmaster)
-+ mh = m->nmaster ? m->wh * m->mfact : 0;
++ mh = m->nmaster ? m->wh * m->mfact : m->gappx;
+ else
+ mh = m->wh;
+ mw = m->ww;
Received on Thu May 30 2019 - 15:42:55 CEST
This archive was generated by hypermail 2.3.0
: Thu May 30 2019 - 15:48:29 CEST