view.c
changeset 656 c30805f6bb08
parent 654 04734db9a219
child 658 b4d1ef7e407f
equal deleted inserted replaced
655:4cf9ab28b36c 656:c30805f6bb08
   190 	}
   190 	}
   191 }
   191 }
   192 
   192 
   193 void
   193 void
   194 incnmaster(Arg *arg) {
   194 incnmaster(Arg *arg) {
   195 	if(nmaster + arg->i < 1)
   195 	if(nmaster + arg->i < 1 || (wah / (nmaster + arg->i) < bh))
   196 		return;
   196 		return;
   197 	nmaster += arg->i;
   197 	nmaster += arg->i;
       
   198 
   198 	arrange();
   199 	arrange();
   199 }
   200 }
   200 
   201 
   201 Bool
   202 Bool
   202 isvisible(Client *c) {
   203 isvisible(Client *c) {