aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <teichm@fs.tum.de>2016-11-23 00:28:43 +0100
committerMarkus Teich <teichm@fs.tum.de>2016-11-23 00:28:43 +0100
commit325581b935c74c321062d1f6873704411bcc5071 (patch)
tree0cef3fd0344c4c4f6940aeba9607d6013dc9b26f
parent0ff0d9f7a7156a0e0b41d5b208ae5625e3a15dab (diff)
downloadslock-325581b935c74c321062d1f6873704411bcc5071.tar.gz
slock-325581b935c74c321062d1f6873704411bcc5071.tar.xz
syntax fix
-rw-r--r--slock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/slock.c b/slock.c
index 700acfb..d55eb3d 100644
--- 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);
+ }
}
}