Introduction
Introduction Statistics Contact Development Disclaimer Help
Don't change to failure colour on success - slock - simple X display locker uti…
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit b95ee111c7625375716e848ec81af2f57ca35b02
parent 0edbd2e0164a8c6cbad415e38083469041f29996
Author: David Phillips <[email protected]>
Date: Thu, 27 Aug 2015 06:16:25 +0200
Don't change to failure colour on success
Diffstat:
M slock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slock.c b/slock.c
@@ -187,7 +187,7 @@ readpw(Display *dpy, const char *pws)
break;
}
color = len ? INPUT : (failure || failonclear ? FAILED…
- if (oldc != color) {
+ if (running && oldc != color) {
for (screen = 0; screen < nscreens; screen++) {
XSetWindowBackground(dpy, locks[screen…
XClearWindow(dpy, locks[screen]->win);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.