Re: [dwm] Fibonacci in 4.8?

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 26 Mar 2008 17:19:20 +0100

c->ismax can be removed, it doesn't exist anymore.

Kind regards,
     Anselm

On Wed, Mar 26, 2008 at 05:18:06PM +0100, Valentin wrote:
> Thank you, that already removed a lot of errors, now I just have this
> one left:
>
> fibonacci.c:13: error: ‘Client’ has no member named ‘ismax’
>
> The corresponding line is here:
> for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
> --> c->ismax = False;
> if((i % 2 && nh / 2 > 2 * c->border)
>
> I commented it, and it seems to be working fine for now, is there some
> situation where this change could have negative results?
>
> Also, I can't find anything that seems to ban/unban anything, and
> nexttiled() does get used, so I suppose there's no need to change
> anything for that either.
>
> Cheers, Valentin
>
> On Wed, 26 Mar 2008 16:36:30 +0100
> "Anselm R. Garbe" <arg_AT_suckless.org> wrote:
>
> > wax is wx
> > way is wy
> > waw is ww
> > wah is wh
> >
> > now.
> >
> > Though you might also check if that version you are trying to
> > adopt does ban/unban stuff -- if so, remove those portions
> > because that's done in arrange() now.
> >
> > Also, use the nexttiled()-based loop through the client list,
> > there is no need to iterate over all clients anymore.
> >
> > Kind regards,
> > Anselm
> >
>

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Wed Mar 26 2008 - 17:19:20 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:28:51 UTC