i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit f174907a0788b8b29953e2d696edd4dda6134047
parent ac1bfe00a39af7615fa8a8d34599ccaf937e4eb1
Author: Chris Guillott <chris@techfo.xyz>
Date:   Sun, 13 Nov 2016 16:26:46 -0500

Merge branch 'master' of https://github.com/i3/i3lock

Diffstat:
Mi3lock.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/i3lock.c b/i3lock.c
@@ -426,10 +426,11 @@ static void handle_key_press(xcb_key_press_event_t *event) {
 
     switch (ksym) {
         case XKB_KEY_j:
+        case XKB_KEY_m:
         case XKB_KEY_Return:
         case XKB_KEY_KP_Enter:
         case XKB_KEY_XF86ScreenSaver:
-            if (ksym == XKB_KEY_j && !ctrl)
+            if ((ksym == XKB_KEY_j || ksym == XKB_KEY_m) && !ctrl)
                 break;
 
             if (pam_state == STATE_PAM_WRONG) {