[PATCH 2/2] Allow using numpad Enter key in dialogs for confirmation

Amadeusz Sławiński <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
---
 WINGs/wtextfield.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c
index adf90c4..285374a 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.4.6


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.