all repos — dwm @ 3c4b7672a84f4be9eeba889abda15a33c9b45eb1

my dwm build

applied jukkas patch
arg@mmvi unknown
Fri, 22 Sep 2006 15:39:38 +0200
commit

3c4b7672a84f4be9eeba889abda15a33c9b45eb1

parent

6de149eb22c889174d34f6f8d12466388f29aabf

1 files changed, 4 insertions(+), 8 deletions(-)

jump to
M view.cview.c

@@ -102,14 +102,8 @@ Client *c;

w = sw - mw; for(n = 0, c = clients; c; c = c->next) - if(isvisible(c)) { - if(c->isfloat) { - if(c->ismax) - togglemax(c); - } - else - n++; - } + if(isvisible(c) && !c->isfloat) + n++; if(n > 1) h = (sh - bh) / (n - 1);

@@ -118,6 +112,8 @@ h = sh - bh;

for(i = 0, c = clients; c; c = c->next) { if(isvisible(c)) { + if(c->ismax) + togglemax(c); if(c->isfloat) { resize(c, True, TopLeft); continue;