mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2025-02-17 15:55:52 -05:00
fix ctrl-u handling
This commit is contained in:
parent
1495903e5d
commit
d4d589a7dd
1 changed files with 5 additions and 2 deletions
5
i3lock.c
5
i3lock.c
|
@ -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;
|
||||
}
|
||||
break;
|
||||
|
||||
case XKB_KEY_Escape:
|
||||
clear_input();
|
||||
|
|
Loading…
Add table
Reference in a new issue