1
0
Fork 0
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:
Moritz Augsburger 2012-11-03 10:31:29 +00:00 committed by Michael Stapelberg
parent fba88476dd
commit e84a1203a6

View file

@ -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: