"Anselm R. Garbe" <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 04, 2008 at 11:40:32PM +0200, Matthias-Christian Ott wrote:
> > "Szabolcs Nagy" <[EMAIL PROTECTED]> wrote:
> > 
> > > On 4/4/08, Matthias-Christian Ott <[EMAIL PROTECTED]> wrote:
> > > > In other words you would propose the attached patch.
> > >
> > > nice, i like it
> > > (except an unnecessary space)
> > 
> > I noticed that two after sending the patch ;). Copy & Paste in VIM
> > sucks sometimes.
>
> Thanks, I applied this patch to hg tip, I considered a similiar
> solution, but I delay this thought for now. It was about having
> a nextclient() function which works on lt->isfloating and which
> replaces nexttiled()...

There's something we overlooked (I noticed it already yesterday, but
thought someone will notice it). I attached a fixing patch.
Maybe you should add a hook to compile dwm before committing.

Regards
Matthias-Christian
diff -r f7a24c410801 dwm.c
--- a/dwm.c     Sat Apr 05 19:53:25 2008 +0200
+++ b/dwm.c     Sat Apr 05 19:54:11 2008 +0200
@@ -1076,7 +1076,7 @@
        Client *c;
 
        for(c = clients; c; c = c->next)
-               if((lt->isfloating || !c->floating) &&  isvisible(c))
+               if((lt->isfloating || !c->isfloating) &&  isvisible(c))
                        resize(c, mox, moy, mow - 2 * c->bw, moh - 2 * c->bw, 
RESIZEHINTS);
 }
 

Reply via email to