mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-11-11 13:50:52 -05:00
Allow XKB_KEY_XF86ScreenSaver as synonm for enter
This keysym is generated on convertible tablets by pressing a hardware lock/unlock button.
This commit is contained in:
parent
fba88476dd
commit
e84a1203a6
1 changed files with 1 additions and 0 deletions
1
i3lock.c
1
i3lock.c
|
@ -253,6 +253,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
|
|||
switch (ksym) {
|
||||
case XKB_KEY_Return:
|
||||
case XKB_KEY_KP_Enter:
|
||||
case XKB_KEY_XF86ScreenSaver:
|
||||
password[input_position] = '\0';
|
||||
input_done();
|
||||
case XKB_KEY_Escape:
|
||||
|
|
Loading…
Reference in a new issue