summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Sanches <g@lonemaker.com>2019-04-29 11:10:31 -0300
committerDrew DeVault <sir@cmpwn.com>2019-04-29 08:37:47 -0600
commit84bfc6c7edf1465096f6663c6d931981bd924280 (patch)
tree1d421fc9a8a8361b351960bd32a6895535c1313b
parentf403cc07021d75f54752584ead2f53f5dc50b673 (diff)
Submit password by pressing Ctrl+m (close #75)1.4
-rw-r--r--password.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/password.c b/password.c
index 2c7f0f9..a5c0211 100644
--- a/password.c
+++ b/password.c
@@ -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);