Re: [dwm] XF86keysym.h

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 12 Nov 2007 14:42:43 +0100

On Mon, Nov 12, 2007 at 02:38:29PM +0100, Giorgio Lando wrote:
> Hi,
> I have dropped xbindkeys and defined all my shortkeys in the config.h
> of dwm. It works very very well.
> However, I wonder why it is not possible to use the XF86 vendor specific
> keysyms such as XF86Mail, XF86WWW and so. I associated these keysyms to
> some of my multimedia keys with the help of xmodmap, but dwm fails to
> compile if I resort to them. In order to fix the compilation, it is
> enough to add an
>
> #include <X11/XF86keysym.h>
>
> in dwm.c. But I wonder if there is a reason why this is not already done
> in dwm vanilla and if there is something bad in this.

I'm not completely sure about this header file, because it might
not be present in non-XFree86 derived X implementations. Hence I
think it is better to let users include that header in config.h
instead.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Mon Nov 12 2007 - 14:42:43 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:06:16 UTC