small boundary check fix
This commit is contained in:
parent
0384faeee5
commit
1c1d09f3e9
4
view.c
4
view.c
|
@ -248,12 +248,12 @@ resizecol(Arg *arg) {
|
|||
return;
|
||||
|
||||
if(sel == getnext(clients)) {
|
||||
if(master + arg->i > 95 || master + arg->i < 5)
|
||||
if(master + arg->i > 950 || master + arg->i < 50)
|
||||
return;
|
||||
master += arg->i;
|
||||
}
|
||||
else {
|
||||
if(master - arg->i > 95 || master - arg->i < 5)
|
||||
if(master - arg->i > 950 || master - arg->i < 50)
|
||||
return;
|
||||
master -= arg->i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue