Re: cwm(1): Enable numpad Enter on menus

2016-08-28 Thread Okan Demirmen
On Sat 2016.08.27 at 23:53 -0300, Henrique N. Lengler wrote:
> > Hi,
> > 
> > This is a tiny patch to enable the use of numpad Enter key on cwm menus.
> > 
> > Regards,
> > 
> > Henrique N. Lengler
> 
> No intention to apply this?
> 
> Numpad enter key is is recognized by every program on openbsd base and 
> xenocara,
> so this would keep consistency. Anyway it is only one line.

Applied; thank you!



Re: cwm(1): Enable numpad Enter on menus

2016-08-28 Thread Peter Hessler
On 2016 Aug 27 (Sat) at 23:53:14 -0300 (-0300), Henrique N. Lengler wrote:
:> Hi,
:> 
:> This is a tiny patch to enable the use of numpad Enter key on cwm menus.
:> 
:> Regards,
:> 
:> Henrique N. Lengler
:
:No intention to apply this?
:
:Numpad enter key is is recognized by every program on openbsd base and 
xenocara,
:so this would keep consistency. Anyway it is only one line.

OK


:Index: menu.c
:===
:RCS file: /cvs/xenocara/app/cwm/menu.c,v
:retrieving revision 1.90
:diff -u -p -r1.90 menu.c
:--- menu.c 28 Apr 2016 16:28:38 -  1.90
:+++ menu.c 17 Aug 2016 19:14:06 -
:@@ -523,6 +523,7 @@ menu_keycode(XKeyEvent *ev, enum ctltype
:   case XK_BackSpace:
:   *ctl = CTL_ERASEONE;
:   break;
:+  case XK_KP_Enter:
:   case XK_Return:
:   *ctl = CTL_RETURN;
:   break;


-- 
If you're not part of the solution, you're part of the precipitate.



Re: cwm(1): Enable numpad Enter on menus

2016-08-27 Thread Bob Beck
I have no objections.. If I hear none by monday I can commit it for you


On Sat, Aug 27, 2016 at 11:53:14PM -0300, Henrique N. Lengler wrote:
> > Hi,
> > 
> > This is a tiny patch to enable the use of numpad Enter key on cwm menus.
> > 
> > Regards,
> > 
> > Henrique N. Lengler
> 
> No intention to apply this?
> 
> Numpad enter key is is recognized by every program on openbsd base and 
> xenocara,
> so this would keep consistency. Anyway it is only one line.

> Index: menu.c
> ===
> RCS file: /cvs/xenocara/app/cwm/menu.c,v
> retrieving revision 1.90
> diff -u -p -r1.90 menu.c
> --- menu.c28 Apr 2016 16:28:38 -  1.90
> +++ menu.c17 Aug 2016 19:14:06 -
> @@ -523,6 +523,7 @@ menu_keycode(XKeyEvent *ev, enum ctltype
>   case XK_BackSpace:
>   *ctl = CTL_ERASEONE;
>   break;
> + case XK_KP_Enter:
>   case XK_Return:
>   *ctl = CTL_RETURN;
>   break;



Re: cwm(1): Enable numpad Enter on menus

2016-08-27 Thread Henrique N. Lengler
> Hi,
> 
> This is a tiny patch to enable the use of numpad Enter key on cwm menus.
> 
> Regards,
> 
> Henrique N. Lengler

No intention to apply this?

Numpad enter key is is recognized by every program on openbsd base and xenocara,
so this would keep consistency. Anyway it is only one line.
Index: menu.c
===
RCS file: /cvs/xenocara/app/cwm/menu.c,v
retrieving revision 1.90
diff -u -p -r1.90 menu.c
--- menu.c  28 Apr 2016 16:28:38 -  1.90
+++ menu.c  17 Aug 2016 19:14:06 -
@@ -523,6 +523,7 @@ menu_keycode(XKeyEvent *ev, enum ctltype
case XK_BackSpace:
*ctl = CTL_ERASEONE;
break;
+   case XK_KP_Enter:
case XK_Return:
*ctl = CTL_RETURN;
break;