aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-12-01 12:25:23 +0100
committerarg@mig29 <unknown>2006-12-01 12:25:23 +0100
commita678ee636547c8a7a2651250960277629c33c4c3 (patch)
tree7d574e7e6f63887580ee41e7ffffdf51a6658554 /draw.c
parent49f0ee329daecb1ad321cca4716bcfe854a74b14 (diff)
downloaddwm-a678ee636547c8a7a2651250960277629c33c4c3.tar.gz
final indicators
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index 151207a..bec0157 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) {