xbattmon

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

commit cd6fa442b3d2fa1146d227320dde2a50cdf6ce8c
parent d1656382eae62f0d1a85b14979c63e81e2fb6ee6
Author: sin <sin@2f30.org>
Date:   Sun,  2 Nov 2014 14:37:01 +0000

Poll battery on expose

Diffstat:
Mxbattmon.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/xbattmon.c b/xbattmon.c @@ -216,6 +216,7 @@ again: while (XCheckIfEvent(dpy, &ev, evpredicate, NULL) == True) { switch (ev.type) { case Expose: + pollbat(); redraw(); break; case VisibilityNotify: