Re: [dwm] Fibonacci in 4.8?

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 26 Mar 2008 16:36:30 +0100

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

On Wed, Mar 26, 2008 at 10:56:30AM +0100, Valentin wrote:
> Hi,
> I'm a new dwm user and I'm trying to get the fibonacci layouts, but the
> patch is only for 4.6 -- I tried simply including the fibonacci.c file
> in config.h and adding the layouts, but I'm getting errors when I
> compile dwm:
>
> In file included from config.h:2,
> from dwm.c:230:
> fibonacci.c: In function ‘fibonacci’:
> fibonacci.c:6: error: ‘wax’ undeclared (first use in this function)
> fibonacci.c:6: error: (Each undeclared identifier is reported only once
> fibonacci.c:6: error: for each function it appears in.)
> fibonacci.c:8: error: ‘waw’ undeclared (first use in this function)
> fibonacci.c:9: error: ‘wah’ undeclared (first use in this function)
> fibonacci.c:13: error: ‘Client’ has no member named ‘ismax’
> fibonacci.c:44: error: ‘way’ undeclared (first use in this function)
>
> My C isn't that good, so could somebody help me getting this to work,
> if it's not too much trouble? Thanks :)
>
> Cheers, Valentin
>

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

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