syntax fix
This commit is contained in:
parent
0ff0d9f7a7
commit
325581b935
1 changed files with 4 additions and 2 deletions
4
slock.c
4
slock.c
|
@ -212,10 +212,12 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else for (screen = 0; screen < nscreens; screen++)
|
} else {
|
||||||
|
for (screen = 0; screen < nscreens; screen++)
|
||||||
XRaiseWindow(dpy, locks[screen]->win);
|
XRaiseWindow(dpy, locks[screen]->win);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static struct lock *
|
static struct lock *
|
||||||
lockscreen(Display *dpy, struct xrandr *rr, int screen)
|
lockscreen(Display *dpy, struct xrandr *rr, int screen)
|
||||||
|
|
Loading…
Reference in a new issue