dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 8a111c181ea7c14fa3903bebccd3e1cc00e1fe31
parent 2255bf46a0af475e70fb4cc90d912b435f21eb5e
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Sat,  4 Jun 2011 10:18:54 +0100

fix typo
Diffstat:
Mdwm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -781,7 +781,7 @@ void
 drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
     int x;
 
-    XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
+    XSetForeground(dpy, dc.gc, col[invert ? ColBG : ColFG]);
     x = (dc.font.ascent + dc.font.descent + 2) / 4;
     if(filled)
         XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1);