view.c
changeset 485 759c9d9a959d
parent 484 c035a0b42560
child 486 8d564b9e3cd4
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;