slock

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

commit 325581b935c74c321062d1f6873704411bcc5071
parent 0ff0d9f7a7156a0e0b41d5b208ae5625e3a15dab
Author: Markus Teich <teichm@fs.tum.de>
Date:   Wed, 23 Nov 2016 00:28:43 +0100

syntax fix

Diffstat:
slock.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/slock.c b/slock.c @@ -212,8 +212,10 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, break; } } - } else for (screen = 0; screen < nscreens; screen++) - XRaiseWindow(dpy, locks[screen]->win); + } else { + for (screen = 0; screen < nscreens; screen++) + XRaiseWindow(dpy, locks[screen]->win); + } } }