--- a/view.c Fri Jan 05 15:11:01 2007 +0100 +++ b/view.c Fri Jan 05 15:16:39 2007 +0100 @@ -192,9 +192,10 @@ void incnmaster(Arg *arg) { - if(nmaster + arg->i < 1) + if(nmaster + arg->i < 1 || (wah / (nmaster + arg->i) < bh)) return; nmaster += arg->i; + arrange(); }