You can also just use the raw keycode over the XF86 mapping and you wouldn't need to include the separate header. I've been doing this since ~5.6.
(If this message sends poorly, I apoligize. I'm using this as an excuse to see how my mobile handles wrapping iin email) On Aug 20, 2011 5:15 AM, "Bastien Dejean" <esch...@gmail.com> wrote: > Hi, > > I'm using a keyboard with extra function keys and since those keys are > not defined in keysym.h, I inserted the following line in dwm.c: > > #include <X11/XF86keysym.h> > > It works, but it produces warnings: > > warning: initialization makes integer from pointer without a cast > > How can I get rid of those warnings? > > -- > Bastien >