diff options
Diffstat (limited to 'slock.c')
-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, 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); + } } } |