--- xbattbar.c.orig	Wed Jun 21 22:41:22 2000
+++ xbattbar.c	Wed Jun 21 22:48:58 2000
@@ -344,14 +344,16 @@
   winstat = XCreateSimpleWindow(disp, DefaultRootWindow(disp),
                                (width-boxw)/2, (height-boxh)/2,
                                boxw, boxh,
-                               2, BlackPixel(disp,0), WhitePixel(disp,0));
+                               2, WhitePixel(disp,0), BlackPixel(disp,0));
 
   /* make this window without time titlebar */
   att.override_redirect = True;
   XChangeWindowAttributes(disp, winstat, CWOverrideRedirect, &att);
   XMapWindow(disp, winstat);
   theGC.font = fontp->fid;
-  gcstat = XCreateGC(disp, winstat, GCFont, &theGC);
+  theGC.foreground = WhitePixel(disp,0);
+  theGC.background = BlackPixel(disp,0);
+  gcstat = XCreateGC(disp, winstat, GCFont|GCForeground|GCBackground, &theGC);
   XDrawString(disp, winstat,
              gcstat,
              DiagXMergin, fontp->ascent+DiagYMergin,

