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 -0000      1.90
:+++ menu.c     17 Aug 2016 19:14:06 -0000
:@@ -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.

Reply via email to