comparison view.c @ 485:759c9d9a959d

applied Jukkas remark (dunno if this is correct though)
author arg@mmvi
date Fri, 22 Sep 2006 16:35:49 +0200
parents c035a0b42560
children 8d564b9e3cd4
comparison
equal deleted inserted replaced
484:c035a0b42560 485:759c9d9a959d
110 else 110 else
111 h = sh - bh; 111 h = sh - bh;
112 112
113 for(i = 0, c = clients; c; c = c->next) { 113 for(i = 0, c = clients; c; c = c->next) {
114 if(isvisible(c)) { 114 if(isvisible(c)) {
115 if(c->ismax)
116 togglemax(c);
117 if(c->isfloat) { 115 if(c->isfloat) {
118 resize(c, True, TopLeft); 116 resize(c, True, TopLeft);
119 continue; 117 continue;
120 } 118 }
119 if(c->ismax)
120 togglemax(c);
121 if(n == 1) { 121 if(n == 1) {
122 c->x = sx; 122 c->x = sx;
123 c->y = sy + bh; 123 c->y = sy + bh;
124 c->w = sw - 2; 124 c->w = sw - 2;
125 c->h = sh - 2 - bh; 125 c->h = sh - 2 - bh;