[wiki] [sites] Sorry for that, just after commiting the schemeSwitch patch I saw useless statement in schemeCycle, changed it || user
commit fa27b772785afa99390ad9fed2cfcd476cec0563
Author: user <user_AT_a>
Date: Fri Aug 4 22:05:47 2017 +0200
Sorry for that, just after commiting the schemeSwitch patch I saw useless statement in schemeCycle, changed it
diff --git a/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff b/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff
index 504fa55b..41857d1b 100644
--- a/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff
+++ b/dwm.suckless.org/patches/dwm-schemeSwitch-20170804-ceac8c9.diff
_AT_@ -41,7 +41,7 @@ index a9ac303..b047735 100644
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
diff --git a/dwm.c b/dwm.c
-index a5ce993..511f2d6 100644
+index a5ce993..3935efc 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -60,7 +60,6 @@
_AT_@ -69,14 +69,13 @@ index a5ce993..511f2d6 100644
static Display *dpy;
static Drw *drw;
static Monitor *mons, *selmon;
-_AT_@ -1410,6 +1412,43 @@ scan(void)
+_AT_@ -1410,6 +1412,42 @@ scan(void)
}
void
+schemeCycle(const Arg *arg) {
+
-+ if ((SchemeSel < LENGTH(colors) -1) &&
-+ ((SchemeSel + 2) < LENGTH(colors)))
++ if ((SchemeSel + 2) < LENGTH(colors))
+ {
+ SchemeNorm += 2;
+ SchemeSel += 2;
Received on Fri Aug 04 2017 - 22:07:52 CEST
This archive was generated by hypermail 2.3.0
: Fri Aug 04 2017 - 22:13:13 CEST