[dev] [dwm] Handling Function Keys

2011-08-20 Thread Bastien Dejean
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

Re: [dev] [dwm] Handling Function Keys

2011-08-20 Thread David
Am 20.08.2011 11:15, schrieb Bastien Dejean: 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: #includeX11/XF86keysym.h It works, but it produces warnings: warning: initialization makes

Re: [dev] [dwm] Handling Function Keys

2011-08-20 Thread Bryan Bennett
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,

Re: [dev] [dwm] Handling Function Keys

2011-08-20 Thread Bastien Dejean
Bryan Bennett a écrit : 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. I was using NULL instead of 0 in the /modifier/ column of the /keys/ array. My bad. -- Bastien