projects
/
suckless
/
slock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e294a
)
applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab asynchro...
author
arg@suckless.org
<unknown>
Tue, 13 Nov 2007 17:16:18 +0000
(18:16 +0100)
committer
arg@suckless.org
<unknown>
Tue, 13 Nov 2007 17:16:18 +0000
(18:16 +0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index 866df90d8a99815d9487150af6dc1adfc3ca6401..daa3cf76b2e759f732de923ffa71a77da054b7af 100644
(file)
--- 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, GrabMode
S
ync, None, invisible, CurrentTime) == GrabSuccess)
+ GrabModeAsync, GrabMode
As
ync, None, invisible, CurrentTime) == GrabSuccess)
break;
usleep(1000);
}