all repos — dwm @ d939f301fa5ee472f2b089496b5e873ec155fa8e

my dwm build

adding some prevention that master clients get smaller than bh
Anselm R. Garbe arg@suckless.org
Fri, 05 Jan 2007 15:16:39 +0100
commit

d939f301fa5ee472f2b089496b5e873ec155fa8e

parent

8c4623da80af2e25e3f0d15f56598624f4f37d5d

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M view.cview.c

@@ -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(); }