From 8f6e86ee72a20fc9bbac62d71e0921b152eaa0bb Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 29 Aug 2023 15:44:16 +0200 Subject: Sync Not much tbh. I'm fairly happy with my setup --- .repos/slock/slock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.repos/slock/slock.c') diff --git a/.repos/slock/slock.c b/.repos/slock/slock.c index 4bf2b36..8f09c7e 100644 --- a/.repos/slock/slock.c +++ b/.repos/slock/slock.c @@ -17,6 +17,7 @@ #include #include #include +#include #ifdef XINERAMA #include #endif @@ -228,7 +229,8 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, IsPrivateKeypadKey(ksym)) continue; switch (ksym) { - case XK_Return: + //case XK_Return: + case XF86XK_Favorites: passwd[len] = '\0'; errno = 0; retval = pam_start(pam_service, hash, &pamc, &pamh); -- cgit v1.2.3