Re: [dev] [dwm] scrot -s fails

2011-08-20 Thread Pascal Wittmann
On 08/20/2011 10:50 AM, Bastien Dejean wrote: Steven Blatchford a écrit : An IRC discussion on Jul 03, 2011 suggested to use 'import'. What is the equivalent in import to the -s argument in scrot? Just call 'import filename' and drag your mouse over the area. Only clicking will make a shot

[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] scrot -s fails

2011-08-20 Thread Anselm R Garbe
The reason for this behavior is that spawn() is executed before the key release handling happens in dwm, thus scrot fails to grab the keyboard. I consider adding a flag to execute a key binding on release. Thanks for reporting this. Cheers Anselm Am 19.08.2011 20:22 schrieb Bastien Dejean

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

[dev] [surf] patch to toggle javascript

2011-08-20 Thread Nick
I've rather changed my mind about surf. While webkit-gtk is a very long way from suckless, surf is somewhat hackable (depending on the task), and script.js is quite useful if you're prepared to roll up your sleeves and do battle with js the dom. Netsurf has proven less stable than I'd like (I