From a678ee636547c8a7a2651250960277629c33c4c3 Mon Sep 17 00:00:00 2001 From: "arg@mig29" Date: Fri, 1 Dec 2006 12:25:23 +0100 Subject: final indicators --- draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 151207a4..bec01578 100644 --- a/draw.c +++ b/draw.c @@ -75,9 +75,9 @@ drawtext(const char *text, unsigned long col[ColLast], Bool dot, Bool border) { XDrawString(dpy, dc.drawable, dc.gc, x, y, buf, len); } if(dot) { + r.x = dc.x + 2; + r.y = dc.y + 2; r.width = r.height = (h + 2) / 4; - r.x = dc.x + dc.w - r.width - 2; - r.y = dc.y + dc.h - r.height - 2; XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); } if(border) { -- cgit v1.2.3