[wiki] [sites] respect nmaster in count || Unia
commit fd66a1b8b3f18882220de4368ee270e55b6687e8
Author: Unia <jthidskes_AT_live.nl>
Date: Sat Mar 23 21:36:20 2013 +0100
respect nmaster in count
diff --git a/dwm.suckless.org/patches/dwm-6.0-deck.diff b/dwm.suckless.org/patches/dwm-6.0-deck.diff
index 7732f36..3cafc6a 100644
--- a/dwm.suckless.org/patches/dwm-6.0-deck.diff
+++ b/dwm.suckless.org/patches/dwm-6.0-deck.diff
_AT_@ -20,7 +20,7 @@
+ if(n == 0)
+ return;
+
-+ dn = n - 1;
++ dn = n - m->nmaster;
+ if(dn > 0) /* override layout symbol */
+ snprintf(m->ltsymbol, sizeof m->ltsymbol, "D %d", dn);
+
Received on Sat Mar 23 2013 - 21:36:07 CET
This archive was generated by hypermail 2.3.0
: Sat Mar 23 2013 - 21:48:06 CET