summaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-01 13:52:36 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-01 13:52:36 +0100
commit663fdb326a573ed8e4a5e47a6d8459b2f479b75f (patch)
treeba52fca013ee3bbd51104afe32b2b910faa608a2 /slock.c
parent48f386ce9dcf223662e2d8d9756d91845006ab9c (diff)
downloadslock-663fdb326a573ed8e4a5e47a6d8459b2f479b75f.tar.gz
slock-663fdb326a573ed8e4a5e47a6d8459b2f479b75f.tar.xz
foobar
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 94cb26b..089b950 100644
--- 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(10000);
running = running && (len > 0);
len = 0;
XMapRaised(dpy, w);