diff options
author | Marvin Borner | 2023-08-29 15:44:16 +0200 |
---|---|---|
committer | Marvin Borner | 2023-08-29 15:46:00 +0200 |
commit | 8f6e86ee72a20fc9bbac62d71e0921b152eaa0bb (patch) | |
tree | 2feb0ee3276bc24ab847a57938fd9fc281b260d7 /.repos/slock/slock.c | |
parent | e6e5c70f6cc741e0edee2f0c1de07909d1c91edc (diff) |
Sync
Not much tbh. I'm fairly happy with my setup
Diffstat (limited to '.repos/slock/slock.c')
-rw-r--r-- | .repos/slock/slock.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <sys/types.h> #include <X11/extensions/Xrandr.h> #include <X11/extensions/dpms.h> +#include <X11/XF86keysym.h> #ifdef XINERAMA #include <X11/extensions/Xinerama.h> #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); |