[wiki] [sites] [dwm][patch] ru_gaps border fix if nmaster is 0 || rob
commit f0e6bba9b8518233cf7e6258dff19ed8da25f3a3
Author: rob <rlives6789_AT_gmail.com>
Date: Thu May 30 16:27:50 2019 +0100
[dwm][patch] ru_gaps border fix if nmaster is 0
diff --git a/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff b/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff
index 2a28f9fc..2c9d900e 100644
--- a/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff
+++ b/dwm.suckless.org/patches/ru_gaps/dwm-ru_gaps-6.2.diff
_AT_@ -1,6 +1,6 @@
diff -up a/config.def.h b/config.def.h
---- a/config.def.h 2019-05-12 13:03:42.203274935 +0200
-+++ b/config.def.h 2019-05-12 12:15:21.033330008 +0200
+--- a/config.def.h 2019-05-30 16:22:50.169610200 +0100
++++ b/config.def.h 2019-05-30 16:22:34.523422600 +0100
_AT_@ -2,6 +2,7 @@
/* appearance */
_AT_@ -20,8 +20,8 @@ diff -up a/config.def.h b/config.def.h
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
diff -up a/dwm.c b/dwm.c
---- a/dwm.c 2019-05-12 13:03:42.206608268 +0200
-+++ b/dwm.c 2019-05-12 13:02:23.463276430 +0200
+--- a/dwm.c 2019-05-30 16:22:50.179583900 +0100
++++ b/dwm.c 2019-05-30 16:24:45.216905300 +0100
_AT_@ -119,6 +119,7 @@ struct Monitor {
int by; /* bar geometry */
int mx, my, mw, mh; /* screen size */
_AT_@ -88,7 +88,8 @@ diff -up a/dwm.c b/dwm.c
+ }
if (n > m->nmaster)
- mw = m->nmaster ? m->ww * m->mfact : 0;
+- mw = m->nmaster ? m->ww * m->mfact : 0;
++ mw = m->nmaster ? m->ww * m->mfact : m->gappx;
else
- mw = m->ww;
- for (i = my = ty = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++)
_AT_@ -110,4 +111,4 @@ diff -up a/dwm.c b/dwm.c
+ ty += HEIGHT(c) + m->gappx;
}
}
-
+
Received on Thu May 30 2019 - 17:28:19 CEST
This archive was generated by hypermail 2.3.0
: Thu May 30 2019 - 17:36:28 CEST