made tile simplier

This commit is contained in:
Anselm R. Garbe 2007-08-13 19:19:38 +02:00
parent 77044e8765
commit a200c39635
1 changed files with 21 additions and 24 deletions

5
tile.c
View File

@ -39,10 +39,7 @@ tile(void) {
nx = wax; nx = wax;
ny = way; ny = way;
for(i = 0, c = clients; c; c = c->next) for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
if(isvisible(c)) {
if(c->isfloating)
continue;
c->ismax = False; c->ismax = False;
if(i == 0) { /* master */ if(i == 0) { /* master */
nw = mw - 2 * c->border; nw = mw - 2 * c->border;