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

4
view.c
View File

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