summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 05ab119..780f1fb 100644
--- a/dwm.c
+++ b/dwm.c
@@ -781,7 +781,7 @@ void
781drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) { 781drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
782 int x; 782 int x;
783 783
784 XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); 784 XSetForeground(dpy, dc.gc, col[invert ? ColBG : ColFG]);
785 x = (dc.font.ascent + dc.font.descent + 2) / 4; 785 x = (dc.font.ascent + dc.font.descent + 2) / 4;
786 if(filled) 786 if(filled)
787 XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1); 787 XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1);