Browse Source

fix ctrl-u handling

master
Michael Stapelberg 12 years ago
parent
commit
d4d589a7dd
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      i3lock.c

+ 5
- 2
i3lock.c View File

@ -274,9 +274,12 @@ static void handle_key_press(xcb_key_press_event_t *event) {
return;
case XKB_KEY_u:
if (ctrl)
if (ctrl) {
DEBUG("C-u pressed\n");
clear_input();
return;
return;
}
break;
case XKB_KEY_Escape:
clear_input();


Loading…
Cancel
Save