[wiki] [sites] [dwm][patch] ru_gaps bottomstack double border between master and clients fixed || Aaron Duxler
commit 172959d2f353109d2299177f85ed9d7039bf80f1
Author: Aaron Duxler <aaron.duxler_AT_gmail.com>
Date: Tue May 28 16:48:20 2019 +0200
[dwm][patch] ru_gaps bottomstack double border between master and clients fixed
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 b099fd78..c66c1492 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_@ -53,7 +53,7 @@ diff -up a/dwm.c b/dwm.c
+ for (i = mx = 0, tx = m->wx, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) {
+ if (i < m->nmaster) {
+ w = (m->ww - mx) / (MIN(n, m->nmaster) - i);
-+ resize(c, m->wx + mx + m->gappx, m->wy + m->gappx, w - 2 * (c->bw + m->gappx), mh - 2 *(c->bw + m->gappx), 0);
++ resize(c, m->wx + mx + m->gappx, m->wy + m->gappx, w - 2 * (c->bw + m->gappx), mh - 2 *(c->bw) - m->gappx, 0);
+ mx += WIDTH(c) + m->gappx;
+ } else {
+ h = m->wh - mh;
_AT_@ -89,7 +89,7 @@ diff -up a/dwm.c b/dwm.c
+ for (i = mx = 0, tx = m->wx, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++) {
+ if (i < m->nmaster) {
+ w = (m->ww - mx) / (MIN(n, m->nmaster) - i);
-+ resize(c, m->wx + mx + m->gappx, m->wy + m->gappx, w - 2 * (c->bw + m->gappx), mh - 2 * (c->bw + m->gappx), 0);
++ resize(c, m->wx + mx + m->gappx, m->wy + m->gappx, w - 2 * (c->bw + m->gappx), mh - 2 * (c->bw) - m->gappx, 0);
+ mx += WIDTH(c) + m->gappx;
+ } else {
+ resize(c, tx + m->gappx, ty + m->gappx, m->ww - 2 * (c->bw + m->gappx), th - 2 * (c->bw + m->gappx), 0);
Received on Tue May 28 2019 - 16:46:03 CEST
This archive was generated by hypermail 2.3.0
: Tue May 28 2019 - 16:48:27 CEST