diff options
Diffstat (limited to 'slock.c')
-rw-r--r-- | slock.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -192,9 +192,10 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, break; } color = len ? INPUT : ((failure || failonclear) ? FAILED : INIT); + printf("%d\n", len); if (running && oldc != color) { for (screen = 0; screen < nscreens; screen++) { - if (background_image != NULL) { + if (background_image != NULL && len == 0) { if (locks[screen]->bgmap) XSetWindowBackgroundPixmap(dpy, locks[screen]->win, locks[screen]->bgmap); else |