summaryrefslogtreecommitdiff
path: root/password.c
diff options
context:
space:
mode:
authorHardDie <oleg1995sysoev@yandex.ru>2019-08-15 16:17:04 +0300
committerSimon Ser <contact@emersion.fr>2019-08-15 18:47:27 +0300
commitba31e2eaee6a08514a449916491f9a446e745770 (patch)
tree21b108c14b60ede13f2255e1f9daa47f34a4afa2 /password.c
parent666ae950bc9c58b2676724e0d614f9018100fcca (diff)
Submit password by pressing Ctrl+m
As it work in emacs style console
Diffstat (limited to 'password.c')
-rw-r--r--password.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/password.c b/password.c
index a5c0211..e1a1d9a 100644
--- a/password.c
+++ b/password.c
@@ -139,6 +139,7 @@ void swaylock_handle_key(struct swaylock_state *state,
break;
case XKB_KEY_m: /* fallthrough */
case XKB_KEY_d:
+ case XKB_KEY_j:
if (state->xkb.control) {
submit_password(state);
break;