Skip to content

Commit

Permalink
Submit password by pressing Ctrl+m (close #75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Sanches authored and ddevault committed Apr 29, 2019
1 parent f403cc0 commit 84bfc6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions password.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84bfc6c

Please sign in to comment.