tfixing zoom - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 52a3ab10423a4133e38281e4e19769cd3c2ed931
 (DIR) parent a82e7b765e8da9fedb8fae6b102796f0494a4f5e
 (HTM) Author: Anselm R. Garbe <arg@10kloc.org>
       Date:   Tue,  5 Sep 2006 17:10:48 +0200
       
       fixing zoom
       Diffstat:
         M view.c                              |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/view.c b/view.c
       t@@ -317,9 +317,10 @@ zoom(Arg *arg)
                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;