From 1fd4e7b23e872c16902d222b6c870116c948903c Mon Sep 17 00:00:00 2001 From: "arg@suckless.org" Date: Tue, 13 Nov 2007 18:16:18 +0100 Subject: applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab asynchroneously --- slock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { XMapRaised(dpy, w); for(len = 1000; len; len--) { if(XGrabPointer(dpy, root, False, ButtonPressMask | ButtonReleaseMask | PointerMotionMask, - GrabModeAsync, GrabModeSync, None, invisible, CurrentTime) == GrabSuccess) + GrabModeAsync, GrabModeAsync, None, invisible, CurrentTime) == GrabSuccess) break; usleep(1000); } -- cgit v1.2.3