|
|
@ -317,9 +317,10 @@ zoom(Arg *arg)
|
|
|
|
if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
|
|
|
|
if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
if((c = sel) == getnext(clients))
|
|
|
|
if((c = sel) == getnext(clients))
|
|
|
|
if(!(c = getnext(c->next)))
|
|
|
|
for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
|
|
|
|
return;
|
|
|
|
if(!c)
|
|
|
|
|
|
|
|
return;
|
|
|
|
detach(c);
|
|
|
|
detach(c);
|
|
|
|
c->next = clients;
|
|
|
|
c->next = clients;
|
|
|
|
clients->prev = c;
|
|
|
|
clients->prev = c;
|
|
|
|