Submit password by pressing Ctrl+m (close #75)

This commit is contained in:
Gabriel Sanches 2019-04-29 11:10:31 -03:00 committed by Drew DeVault
parent f403cc0702
commit 84bfc6c7ed

View File

@ -137,6 +137,7 @@ void swaylock_handle_key(struct swaylock_state *state,
schedule_indicator_clear(state);
schedule_password_clear(state);
break;
case XKB_KEY_m: /* fallthrough */
case XKB_KEY_d:
if (state->xkb.control) {
submit_password(state);