Submit password by pressing Ctrl+m

As it work in emacs style console
This commit is contained in:
HardDie 2019-08-15 16:17:04 +03:00 committed by Simon Ser
parent 666ae950bc
commit ba31e2eaee

View File

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