[wiki] [sites] no more depend on pertag2 || Unia

From: <git_AT_suckless.org>
Date: Sat, 23 Mar 2013 19:14:15 +0100

commit a76cc0730ab47b6f4df50d076a7acf7ad6e02d65
Author: Unia <jthidskes_AT_live.nl>
Date: Sat Mar 23 19:14:29 2013 +0100

    no more depend on pertag2

diff --git a/dwm.suckless.org/patches/dwm-6.0-deck.diff b/dwm.suckless.org/patches/dwm-6.0-deck.diff
index fb9155c..7732f36 100644
--- a/dwm.suckless.org/patches/dwm-6.0-deck.diff
+++ b/dwm.suckless.org/patches/dwm-6.0-deck.diff
_AT_@ -24,13 +24,13 @@
 + if(dn > 0) /* override layout symbol */
 + snprintf(m->ltsymbol, sizeof m->ltsymbol, "D %d", dn);
 +
-+ if(n > m->nmasters[m->curtag])
-+ mw = m->nmasters[m->curtag] ? m->ww * m->mfacts[m->curtag] : 0;
++ if(n > m->nmaster)
++ mw = m->nmaster ? m->ww * m->mfact : 0;
 + else
 + mw = m->ww;
 + for(i = my = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), i++)
-+ if(i < m->nmasters[m->curtag]) {
-+ h = (m->wh - my) / (MIN(n, m->nmasters[m->curtag]) - i);
++ if(i < m->nmaster) {
++ h = (m->wh - my) / (MIN(n, m->nmaster) - i);
 + resize(c, m->wx, m->wy + my, mw - (2*c->bw), h - (2*c->bw), False);
 + my += HEIGHT(c);
 + }
Received on Sat Mar 23 2013 - 19:14:15 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 23 2013 - 19:24:06 CET