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)
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,
212 break; 212 break;
213 } 213 }
214 } 214 }
215 } else for (screen = 0; screen < nscreens; screen++) 215 } else {
216 XRaiseWindow(dpy, locks[screen]->win); 216 for (screen = 0; screen < nscreens; screen++)
217 XRaiseWindow(dpy, locks[screen]->win);
218 }
217 } 219 }
218} 220}
219 221