slock

simple X display locker utility
git clone git://git.suckless.org/slock
Log | Files | Refs | README | LICENSE

commit 663fdb326a573ed8e4a5e47a6d8459b2f479b75f
parent 48f386ce9dcf223662e2d8d9756d91845006ab9c
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Thu,  1 Feb 2007 13:52:36 +0100

foobar
Diffstat:
Mslock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);