about summary refs log tree commit diff stats
path: root/draw.c
diff options
context:
space:
mode:
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) {
pshots/blame/src/chrtrans/README.tables?id=36a66292ee2ec3530d776892d22d6c5ace810ae0'>^
57bfc74f ^

4b034492 ^
57bfc74f ^
e4409c40 ^





d3f9d547 ^
b6d1143c ^
e4409c40 ^
8f8c57cc ^
b6d1143c ^
e4409c40 ^






4b034492 ^
e4409c40 ^



d3f9d547 ^
e4409c40 ^
945e8eb6 ^




57bfc74f ^




e4409c40 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60