Proposed change to avoid high CPU usage ref. #7
1 files changed, 1 insertions(+), 0 deletions(-) M slock.c
M slock.c => slock.c +1 -0
@@ 458,6 458,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, } lasttouched = currenttime; } + usleep(50); // artificial sleep for 50ms #endif // AUTO_TIMEOUT_PATCH } }