diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-31 17:49:19 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-31 17:49:19 +0200 |
commit | 848b39b287f2342c6646011bb7dc2c33ee66fa76 (patch) | |
tree | 35198925be6641c3d6ef4df0f9a7a7f0bd8d53da /slock.c | |
parent | regruvboxed (diff) | |
download | slock-848b39b287f2342c6646011bb7dc2c33ee66fa76.tar.gz slock-848b39b287f2342c6646011bb7dc2c33ee66fa76.tar.bz2 slock-848b39b287f2342c6646011bb7dc2c33ee66fa76.tar.xz slock-848b39b287f2342c6646011bb7dc2c33ee66fa76.tar.zst slock-848b39b287f2342c6646011bb7dc2c33ee66fa76.zip |
Cool update
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 |