[PATCH 1/2] Allow using keypad Enter to commit move/resize

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]>
---
 src/moveres.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/moveres.c b/src/moveres.c
index b271f32..ec0720f 100644
--- a/src/moveres.c
+++ b/src/moveres.c
@@ -1440,6 +1440,9 @@ int wKeyboardMoveResizeWindow(WWindow * wwin)
 				keysym = XLookupKeysym(&event.xkey, 0);
 				switch (keysym) {
 				case XK_Return:
+#ifdef XK_KP_Enter
+				case XK_KP_Enter:
+#endif
 					done = 2;
 					break;
 				case XK_Escape:
-- 
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.