mirror of git://git.suckless.org/dwm
allowing zoom within master area as well
This commit is contained in:
parent
ec7a5ffff1
commit
0faaba04a5
7
view.c
7
view.c
|
@ -302,10 +302,11 @@ zoom(Arg *arg) {
|
||||||
}
|
}
|
||||||
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
|
for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next))
|
||||||
n++;
|
n++;
|
||||||
if(n <= nmaster || (arrange == dofloat))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if(ismaster((c = sel))) {
|
c = sel;
|
||||||
|
if(n <= nmaster || (arrange == dofloat))
|
||||||
|
pop(c);
|
||||||
|
else if(ismaster(sel)) {
|
||||||
if(!(c = topofstack()))
|
if(!(c = topofstack()))
|
||||||
return;
|
return;
|
||||||
swap(c, sel);
|
swap(c, sel);
|
||||||
|
|
Loading…
Reference in New Issue