applied Jukkas patch

This commit is contained in:
arg@mig29 2006-11-03 08:29:39 +01:00
parent 0c5f47e720
commit f78c16f8c6
1 changed files with 7 additions and 3 deletions

10
view.c
View File

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