commit e462acb9e3e23c9ae6aa015095339c080af7f0ff
Author: Aaron Duxler <[email protected]>
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
@@ -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++)
@@ -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;