applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab asynchroneously - slock - simple X display locker utility
 (HTM) git clone git://git.suckless.org/slock
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1fd4e7b23e872c16902d222b6c870116c948903c
 (DIR) parent 20e294a66f4925b7db43e77ddcb0b885fedeca18
 (HTM) Author: arg@suckless.org <unknown>
       Date:   Tue, 13 Nov 2007 18:16:18 +0100
       
       applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab asynchroneously
       Diffstat:
         M slock.c                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git 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);
                }