|
@ -248,12 +248,12 @@ resizecol(Arg *arg) { |
|
|
return; |
|
|
return; |
|
|
|
|
|
|
|
|
if(sel == getnext(clients)) { |
|
|
if(sel == getnext(clients)) { |
|
|
if(master + arg->i > 95 || master + arg->i < 5) |
|
|
|
|
|
|
|
|
if(master + arg->i > 950 || master + arg->i < 50) |
|
|
return; |
|
|
return; |
|
|
master += arg->i; |
|
|
master += arg->i; |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
if(master - arg->i > 95 || master - arg->i < 5) |
|
|
|
|
|
|
|
|
if(master - arg->i > 950 || master - arg->i < 50) |
|
|
return; |
|
|
return; |
|
|
master -= arg->i; |
|
|
master -= arg->i; |
|
|
} |
|
|
} |
|
|