slock

simple X display locker utility
git clone git://git.suckless.org/slock
Log | Files | Refs | README | LICENSE

commit 1fd4e7b23e872c16902d222b6c870116c948903c
parent 20e294a66f4925b7db43e77ddcb0b885fedeca18
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:
Mslock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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); }