From: Michael Stapelberg Date: Tue, 9 Nov 2010 18:35:16 +0000 (+0100) Subject: add XK_KP_Enter as synonym for XK_Return X-Git-Tag: 2.1~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ba6f073221c11cb6c6bee434b9b3456d6f73074;p=i3%2Fi3lock add XK_KP_Enter as synonym for XK_Return --- 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;