applied Jukkas patch

This commit is contained in:
arg@mig29 2006-11-03 08:29:39 +01:00
parent 0c5f47e720
commit f78c16f8c6

10
view.c
View file

@ -196,9 +196,13 @@ isvisible(Client *c) {
void void
resizemaster(Arg *arg) { resizemaster(Arg *arg) {
if(master + arg->i > 950 || master + arg->i < 50) if(arg->i == 0)
return; master = MASTER;
master += arg->i; else {
if(master + arg->i > 950 || master + arg->i < 50)
return;
master += arg->i;
}
arrange(); arrange();
} }