On Mon, Oct 16, 2006 at 11:03:04AM +0200, Stefan Tibus wrote:
> On Mon, 16 Oct 2006 10:27:32 +0200 Anselm R. Garbe wrote:
> > Can you check if dwm-1.9 compiles fine? I use some special array
> > initializations there as well (esp. in event.c and config.h).
> Hmm, maybe
> void (*handler[LASTEvent]) (XEvent *) = {
> [ButtonPress] = buttonpress,
> [ConfigureRequest] = configurerequest,
> [DestroyNotify] = destroynotify,
> [EnterNotify] = enternotify,
> [LeaveNotify] = leavenotify,
> [Expose] = expose,
> [KeyPress] = keypress,
> [MappingNotify] = mappingnotify,
> [MapRequest] = maprequest,
> [PropertyNotify] = propertynotify,
> [UnmapNotify] = unmapnotify
> };
> (from dwm event.c, line 332)
> works, but
> static Dirtab *dirtab[] = {
> [FsRoot] dirtab_root,
> [FsDBars] dirtab_bars,
> [FsDClients] dirtab_clients,
> [FsDClient] dirtab_client,
> [FsDTags] dirtab_tags,
> [FsDTag] dirtab_tag,
> };
> (from wmii-4 fs.c, line 125)
> not...
A random guess, but the = seems mandatory in my eyes...
It's too bad Kris cannot tell us why he used that syntax.
Regards,
-- Anselm R. Garbe ><>< http://suckless.org/~arg/ ><>< GPG key: 0D73F361Received on Mon Oct 16 2006 - 11:28:16 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:15:54 UTC