aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 866df90..daa3cf7 100644
--- a/slock.c
+++ b/slock.c
@@ -87,7 +87,7 @@ main(int argc, char **argv) {
87 XMapRaised(dpy, w); 87 XMapRaised(dpy, w);
88 for(len = 1000; len; len--) { 88 for(len = 1000; len; len--) {
89 if(XGrabPointer(dpy, root, False, ButtonPressMask | ButtonReleaseMask | PointerMotionMask, 89 if(XGrabPointer(dpy, root, False, ButtonPressMask | ButtonReleaseMask | PointerMotionMask,
90 GrabModeAsync, GrabModeSync, None, invisible, CurrentTime) == GrabSuccess) 90 GrabModeAsync, GrabModeAsync, None, invisible, CurrentTime) == GrabSuccess)
91 break; 91 break;
92 usleep(1000); 92 usleep(1000);
93 } 93 }