summaryrefslogtreecommitdiff
path: root/slock/slock.c
diff options
context:
space:
mode:
Diffstat (limited to 'slock/slock.c')
-rw-r--r--slock/slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock/slock.c b/slock/slock.c
index 3a8ad9e..962cc1d 100644
--- a/slock/slock.c
+++ b/slock/slock.c
@@ -300,7 +300,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
while (running) {
/* poll at ~60Hz so accent gradients appear smooth */
- if (poll(&pfd, 1, 16) > 0) {
+ if (poll(&pfd, 1, 5) > 0) {
while (XPending(dpy)) {
XNextEvent(dpy, &ev);
if (ev.type == KeyPress) {