[dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Roberto E. Vargas Caballero
After a call to die the program exits and the shell take the control, so it is better for the user the shell begins in an new line, and it is better for the programmer don't have to explicitly add it in each call to die. --- st.c | 45 +++-- 1 file

[dev] [PATCH] dwm: replace deprecated XKeycodeToKeysym

2012-12-11 Thread Antonio Quartulli
XKeycodeToKeysym is now deprecated in favour of XkbKeycodeToKeysym (X11/XKBlib.h). This patch substitutes the former with the latter in dwm.c Signed-off-by: Antonio Quartulli or...@autistici.org --- dwm.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Christoph Lohmann
Greetings. On Tue, 11 Dec 2012 09:40:16 +0100 Roberto E. Vargas Caballero k...@shike2.com wrote: After a call to die the program exits and the shell take the control, so it is better for the user the shell begins in an new line, and it is better for the programmer don't have to explicitly add

Re: [dev] [dwm] Looking for a focusonclick that with MODKEY+Button3

2012-12-11 Thread Bert Münnich
On Sat, Dec 8, 2012 at 7:55 PM, Eric Pruitt eric.pru...@gmail.com wrote: Is there a focusonclick patch that anyone is aware of that still works with things like Right Click + Alt? Because of the change from Async to Sync in grabbuttons in the focusonclick patch, I am unable to use certain

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Roberto E. Vargas Caballero
No, this will change the die() behaviour between all suckless projects. Then, change die in all the projects, it is the usual way of working with other issues, no? Please send patches as attached files. Since we are using now git, it is easier and logic send the patches in this way, so the

Re: [dev] [PATCH] dwm: replace deprecated XKeycodeToKeysym

2012-12-11 Thread Antonio Quartulli
On Tue, Dec 11, 2012 at 09:35:12AM +0100, Antonio Quartulli wrote: XKeycodeToKeysym is now deprecated in favour of XkbKeycodeToKeysym (X11/XKBlib.h). This patch substitutes the former with the latter in dwm.c Signed-off-by: Antonio Quartulli or...@autistici.org --- } +void

[dev] [PATCHv2] dwm: replace deprecated XKeycodeToKeysym

2012-12-11 Thread Antonio Quartulli
XKeycodeToKeysym is now deprecated in favour of XkbKeycodeToKeysym (X11/XKBlib.h). This patch substitutes the former with the latter in dwm.c Signed-off-by: Antonio Quartulli or...@autistici.org --- dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Christoph Lohmann
Greetings. On Tue, 11 Dec 2012 10:39:55 +0100 Roberto E. Vargas Caballero k...@shike2.com wrote: No, this will change the die() behaviour between all suckless projects. Then, change die in all the projects, it is the usual way of working with other issues, no? Why should your taste

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Marc Andre Tanner
On Tue, Dec 11, 2012 at 10:39:55AM +0100, Christoph Lohmann wrote: Please send patches as attached files. Since we are using now git, it is easier and logic send the patches in this way, so the code of the patch can be included and modified in replies. You only have to use git am if

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Christoph Lohmann
Greetings. On Tue, 11 Dec 2012 18:25:04 +0100 Marc Andre Tanner m...@brain-dump.org wrote: On Tue, Dec 11, 2012 at 10:39:55AM +0100, Christoph Lohmann wrote: Please send patches as attached files. Since we are using now git, it is easier and logic send the patches in this way,

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Antonio Quartulli
On Tue, Dec 11, 2012 at 06:25:04PM +0100, Christoph Lohmann wrote: Greetings. On Tue, 11 Dec 2012 18:25:04 +0100 Marc Andre Tanner m...@brain-dump.org wrote: On Tue, Dec 11, 2012 at 10:39:55AM +0100, Christoph Lohmann wrote: Please send patches as attached files. Since we are

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Christoph Lohmann
Greetings. On Tue, 11 Dec 2012 18:34:19 +0100 Antonio Quartulli or...@autistici.org wrote: On Tue, Dec 11, 2012 at 06:25:04PM +0100, Christoph Lohmann wrote: Greetings. On Tue, 11 Dec 2012 18:25:04 +0100 Marc Andre Tanner m...@brain-dump.org wrote: On Tue, Dec 11, 2012 at

Re: [dev] [st] Add a newline to the string printed in die

2012-12-11 Thread Anselm R Garbe
On 11 December 2012 18:33, Antonio Quartulli or...@autistici.org wrote: On Tue, Dec 11, 2012 at 06:25:04PM +0100, Christoph Lohmann wrote: On Tue, 11 Dec 2012 18:25:04 +0100 Marc Andre Tanner m...@brain-dump.org wrote: On Tue, Dec 11, 2012 at 10:39:55AM +0100, Christoph Lohmann wrote:

Re: [dev] [PATCHv2] dwm: replace deprecated XKeycodeToKeysym

2012-12-11 Thread Anselm R Garbe
Please see the other mail. This patch won't make it into dwm, as this doesn't work in several X server setups and we don't want to introduce case-handling as long as the modern X servers still support the old behavior. Best regards, Anselm On 11 December 2012 10:25, Antonio Quartulli

Re: [dev] [PATCHv2] dwm: replace deprecated XKeycodeToKeysym

2012-12-11 Thread Antonio Quartulli
On Tue, Dec 11, 2012 at 06:55:47PM +0100, Anselm R Garbe wrote: Please see the other mail. This patch won't make it into dwm, as this doesn't work in several X server setups and we don't want to introduce case-handling as long as the modern X servers still support the old behavior. Yap, I

Re: [dev] [dwm] Looking for a focusonclick that with MODKEY+Button3

2012-12-11 Thread Eric Pruitt
Hey Bert, On Tue, Dec 11, 2012 at 09:46:14AM +0100, Bert Münnich wrote: On Sat, Dec 8, 2012 at 7:55 PM, Eric Pruitt eric.pru...@gmail.com wrote: Is there a focusonclick patch that anyone is aware of that still works with things like Right Click + Alt? Because of the change from Async to

Re: [dev] [dwm] Looking for a focusonclick that with MODKEY+Button3

2012-12-11 Thread Eric Pruitt
Hey, On Tue, Dec 11, 2012 at 09:46:14AM +0100, Bert Münnich wrote: The attached patch works for me. Bert Do you know where this patch came from? I like to keep attribution and source information for my patches, but I have been unable to locate where this patch came from. Eric