pinosaur
/
slock.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f386c
)
foobar
author
Anselm R. Garbe
<arg@suckless.org>
Thu, 1 Feb 2007 12:52:36 +0000
(13:52 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Thu, 1 Feb 2007 12:52:36 +0000
(13:52 +0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index
94cb26b
..
089b950
100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-92,7
+92,7
@@
main(int argc, char **argv) {
len = 10;
for(len = 10; len && (XGrabKeyboard(dpy, RootWindow(dpy, screen), True, GrabModeAsync,
GrabModeAsync, CurrentTime) != GrabSuccess); len--)
- usleep(1000);
+ usleep(1000
0
);
running = running && (len > 0);
len = 0;
XMapRaised(dpy, w);