xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon
Log | Files | Refs | README | LICENSE

commit 67b41d7e2374abf724be33abb4c5f8c3c694ebd6
parent 43758f020b841ee83364f2df10dcc35ae38534fc
Author: Klemens Nanni <kl3@posteo.org>
Date:   Wed,  4 May 2016 16:22:53 +0200

Do not test 'transparent' explicitly

Diffstat:
Mxbattmon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xbattmon.c b/xbattmon.c @@ -193,7 +193,7 @@ redraw(void) XFillRectangle(dpy, winbar, gcbar, 0, 0, thickness, barheight - pos); } - if (transparent == 1) { + if (transparent) { if (!blink) XMapWindow(dpy, winbar); else