diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2016-08-28 15:23:25 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2016-08-28 15:23:25 +0000 |
commit | ca7252158e5586848f63d806d529564b9f8d0e3a (patch) | |
tree | db3dfaccae464a42e06403c9d6696cece271f6ea /app | |
parent | b88380302c6130171dafc532b3363421f981fc13 (diff) |
Enable the use of numpad Enter key on menus; from Henrique N. Lengler.
ok beck phessler
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/menu.c b/app/cwm/menu.c index 4a63a3c14..1b0ce1f25 100644 --- a/app/cwm/menu.c +++ b/app/cwm/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.90 2016/04/28 16:28:38 okan Exp $ + * $OpenBSD: menu.c,v 1.91 2016/08/28 15:23:24 okan Exp $ */ #include <sys/types.h> @@ -523,6 +523,7 @@ menu_keycode(XKeyEvent *ev, enum ctltype *ctl, char *chr) case XK_BackSpace: *ctl = CTL_ERASEONE; break; + case XK_KP_Enter: case XK_Return: *ctl = CTL_RETURN; break; |