]> git.sur5r.net Git - i3/i3lock/commitdiff
add XK_KP_Enter as synonym for XK_Return
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 9 Nov 2010 18:35:16 +0000 (19:35 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 9 Nov 2010 18:35:16 +0000 (19:35 +0100)
i3lock.c

index 198d334e43f2fc52d622e1d4be56620462046446..0f77c4a2dc86a68251deb2c9bed9176ff0179875 100644 (file)
--- a/i3lock.c
+++ b/i3lock.c
@@ -135,6 +135,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
         return;
 
     case XK_Return:
+    case XK_KP_Enter:
         input_done();
     case XK_Escape:
         input_position = 0;