Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gg-rewrite committed May 11, 2020
1 parent 6ae0dec commit 3c52c87
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions password.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,6 @@ void swaylock_handle_key(struct swaylock_state *state,
damage_state(state);
schedule_password_clear(state);
break;
case XKB_KEY_m: /* fallthrough */
case XKB_KEY_d:
case XKB_KEY_j:
if (state->xkb.control) {
submit_password(state);
break;
}
// fallthrough
case XKB_KEY_c: /* fallthrough */
case XKB_KEY_u:
if (state->xkb.control) {
clear_password_buffer(&state->password);
damage_state(state);
break;
}
// fallthrough
default:
if (codepoint) {
Expand Down

0 comments on commit 3c52c87

Please sign in to comment.