diff options
-rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ main(int argc, char **argv) { | |||
92 | len = 10; | 92 | len = 10; |
93 | for(len = 10; len && (XGrabKeyboard(dpy, RootWindow(dpy, screen), True, GrabModeAsync, | 93 | for(len = 10; len && (XGrabKeyboard(dpy, RootWindow(dpy, screen), True, GrabModeAsync, |
94 | GrabModeAsync, CurrentTime) != GrabSuccess); len--) | 94 | GrabModeAsync, CurrentTime) != GrabSuccess); len--) |
95 | usleep(1000); | 95 | usleep(10000); |
96 | running = running && (len > 0); | 96 | running = running && (len > 0); |
97 | len = 0; | 97 | len = 0; |
98 | XMapRaised(dpy, w); | 98 | XMapRaised(dpy, w); |