applied Jukkas patch
This commit is contained in:
parent
0c5f47e720
commit
f78c16f8c6
1 changed files with 7 additions and 3 deletions
10
view.c
10
view.c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue