From 7ba6f073221c11cb6c6bee434b9b3456d6f73074 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 9 Nov 2010 19:35:16 +0100 Subject: [PATCH] add XK_KP_Enter as synonym for XK_Return --- i3lock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3lock.c b/i3lock.c index 198d334..0f77c4a 100644 --- 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;