Browse Source

add XK_KP_Enter as synonym for XK_Return

master
Michael Stapelberg 14 years ago
parent
commit
7ba6f07322
  1. 1
      i3lock.c

1
i3lock.c

@ -135,6 +135,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
return; return;
case XK_Return: case XK_Return:
case XK_KP_Enter:
input_done(); input_done();
case XK_Escape: case XK_Escape:
input_position = 0; input_position = 0;

Loading…
Cancel
Save