diff options
| author | arg@suckless.org <unknown> | 2007-11-13 18:16:18 +0100 | 
|---|---|---|
| committer | arg@suckless.org <unknown> | 2007-11-13 18:16:18 +0100 | 
| commit | 1fd4e7b23e872c16902d222b6c870116c948903c (patch) | |
| tree | 367b311c889bfd711ddd116cee3b64a50977cfaf | |
| parent | 20e294a66f4925b7db43e77ddcb0b885fedeca18 (diff) | |
| download | slock-1fd4e7b23e872c16902d222b6c870116c948903c.tar.gz slock-1fd4e7b23e872c16902d222b6c870116c948903c.tar.xz | |
applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab asynchroneously
| -rw-r--r-- | slock.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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);  	} | 
