fixing zoom
Anselm R. Garbe arg@10kloc.org
Tue, 05 Sep 2006 17:10:48 +0200
1 files changed,
4 insertions(+),
3 deletions(-)
jump to
M
view.c
→
view.c
@@ -317,9 +317,10 @@ n++;
if(!sel || sel->isfloat || n < 2 || (arrange != dotile) || maximized) return; - if((c = sel) == getnext(clients)) - if(!(c = getnext(c->next))) - return; + if((c = sel) == getnext(clients)) + for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next)); + if(!c) + return; detach(c); c->next = clients; clients->prev = c;