mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2025-02-24 16:06:26 -05:00
fix ctrl-u handling
This commit is contained in:
parent
1495903e5d
commit
d4d589a7dd
1 changed files with 5 additions and 2 deletions
7
i3lock.c
7
i3lock.c
|
@ -274,9 +274,12 @@ static void handle_key_press(xcb_key_press_event_t *event) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case XKB_KEY_u:
|
case XKB_KEY_u:
|
||||||
if (ctrl)
|
if (ctrl) {
|
||||||
|
DEBUG("C-u pressed\n");
|
||||||
clear_input();
|
clear_input();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case XKB_KEY_Escape:
|
case XKB_KEY_Escape:
|
||||||
clear_input();
|
clear_input();
|
||||||
|
|
Loading…
Add table
Reference in a new issue