mirror of git://git.suckless.org/dwm
applied Jukkas patch
This commit is contained in:
parent
0c5f47e720
commit
f78c16f8c6
10
view.c
10
view.c
|
@ -196,9 +196,13 @@ isvisible(Client *c) {
|
||||||
|
|
||||||
void
|
void
|
||||||
resizemaster(Arg *arg) {
|
resizemaster(Arg *arg) {
|
||||||
if(master + arg->i > 950 || master + arg->i < 50)
|
if(arg->i == 0)
|
||||||
return;
|
master = MASTER;
|
||||||
master += arg->i;
|
else {
|
||||||
|
if(master + arg->i > 950 || master + arg->i < 50)
|
||||||
|
return;
|
||||||
|
master += arg->i;
|
||||||
|
}
|
||||||
arrange();
|
arrange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue