diff options
-rw-r--r-- | slock.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 | ||