view.c
changeset 515 d6d1d0033e3c
parent 513 e43292f339ea
child 521 73afe7587bea
equal deleted inserted replaced
514:3dd1631824a6 515:d6d1d0033e3c
   338 		return;
   338 		return;
   339 	if(stackpos == StackBottom)
   339 	if(stackpos == StackBottom)
   340 		stackpos = STACKPOS;
   340 		stackpos = STACKPOS;
   341 	else
   341 	else
   342 		stackpos = StackBottom;
   342 		stackpos = StackBottom;
   343 	updatemaster();
       
   344 	arrange(NULL);
       
   345 }
       
   346 
       
   347 void
       
   348 updatemaster(void) {
       
   349 	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
   343 	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
       
   344 	arrange(NULL);
   350 }
   345 }
   351 
   346 
   352 void
   347 void
   353 view(Arg *arg) {
   348 view(Arg *arg) {
   354 	unsigned int i;
   349 	unsigned int i;