[dev] [PATCH] wmii hg - witray in normcolors

From: Suraj Kurapati <sunaku_AT_gmail.com>
Date: Thu, 24 Mar 2011 16:27:29 -0700

Hello,

I became tired of seeing witray render itself in selcolors (by
default) and changed it to use normcolors as shown below. That's one
less distraction and more productivity for me.

diff -r 327e87c7bb2b cmd/tray/tray.c
--- a/cmd/tray/tray.c Thu Oct 28 09:55:54 2010 -0400
+++ b/cmd/tray/tray.c Thu Mar 24 16:21:56 2011 -0700
@@ -123,9 +123,9 @@
         borderwidth = 1;

         r = rectsetorigin(r, ZP);
- border(tray.pixmap, r, borderwidth, &tray.selcolors.border);
+ border(tray.pixmap, r, borderwidth, &tray.normcolors.border);
         r = insetrect(r, borderwidth);
- fill(tray.pixmap, r, &tray.selcolors.bg);
+ fill(tray.pixmap, r, &tray.normcolors.bg);
         XClearWindow(display, tray.win->xid);
 }

Enjoy.
Received on Fri Mar 25 2011 - 00:27:29 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 25 2011 - 00:36:02 CET