sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit a76cc0730ab47b6f4df50d076a7acf7ad6e02d65
parent bfc10146f27dd1cf0a407e8505cb0c2fed813ac5
Author: Unia <jthidskes@live.nl>
Date:   Sat, 23 Mar 2013 19:14:29 +0100

no more depend on pertag2

Diffstat:
Mdwm.suckless.org/patches/dwm-6.0-deck.diff | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-6.0-deck.diff b/dwm.suckless.org/patches/dwm-6.0-deck.diff @@ -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); + }