projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2255bf4
)
fix typo
author
Connor Lane Smith
<cls@lubutu.com>
Sat, 4 Jun 2011 09:18:54 +0000
(10:18 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Sat, 4 Jun 2011 09:18:54 +0000
(10:18 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 05ab119df8a0fb5399ff284ba292c5ff34f45613..780f1fb9d27463e3d36c798c275d6b4d0ccf59b1 100644
(file)
--- 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 ? Col
FG : ColB
G]);
+ XSetForeground(dpy, dc.gc, col[invert ? Col
BG : ColF
G]);
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);