Explorar el Código

applied Jukkas remark (dunno if this is correct though)

arg@mmvi hace 19 años
padre
commit
114cc3ec02
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      view.c

+ 2 - 2
view.c

@@ -112,12 +112,12 @@ dotile(Arg *arg) {
 
 	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;
 			}
+			if(c->ismax)
+				togglemax(c);
 			if(n == 1) {
 				c->x = sx;
 				c->y = sy + bh;