From 49e94f97479fbd686f3987571434b2ea57e30e43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Mon, 27 Jul 2015 18:19:52 +0200 Subject: [PATCH] Allow using numpad Enter key in dialogs for confirmation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Amadeusz Sławiński --- WINGs/wtextfield.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c index f72102da..bac16bdd 100644 --- a/WINGs/wtextfield.c +++ b/WINGs/wtextfield.c @@ -1000,6 +1000,9 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event) } break; +#ifdef XK_KP_Enter + case XK_KP_Enter: +#endif case XK_Return: if (!modified) { data = (void *)WMReturnTextMovement; -- 2.11.4.GIT