foobar
This commit is contained in:
parent
48f386ce9d
commit
663fdb326a
1 changed files with 1 additions and 1 deletions
2
slock.c
2
slock.c
|
@ -92,7 +92,7 @@ main(int argc, char **argv) {
|
||||||
len = 10;
|
len = 10;
|
||||||
for(len = 10; len && (XGrabKeyboard(dpy, RootWindow(dpy, screen), True, GrabModeAsync,
|
for(len = 10; len && (XGrabKeyboard(dpy, RootWindow(dpy, screen), True, GrabModeAsync,
|
||||||
GrabModeAsync, CurrentTime) != GrabSuccess); len--)
|
GrabModeAsync, CurrentTime) != GrabSuccess); len--)
|
||||||
usleep(1000);
|
usleep(10000);
|
||||||
running = running && (len > 0);
|
running = running && (len > 0);
|
||||||
len = 0;
|
len = 0;
|
||||||
XMapRaised(dpy, w);
|
XMapRaised(dpy, w);
|
||||||
|
|
Loading…
Reference in a new issue