On 11/7/07, Anselm R. Garbe <arg_AT_suckless.org> wrote:
> The KEYS macro is still used, because there are references to
> tags-elements which can't be referenced in a static variable
> definition of the same scope-level, at least not with my gcc.
> I know that sucks, but I see no other possibility atm. Do you?
hm i don't know any better solution either
i forgot dwm uses tag strings to identify tags..
this works, but ugly:
const char *tag1 = "net";
const char *tag2 = "work";
...
const char *tags[] = {tag1, tag2, ..};
Key keys[] = {{MODKEY,XK_1,view,tag1}, ..};
Received on Thu Nov 08 2007 - 13:07:53 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:05:29 UTC