dwm-meillo
diff draw.c @ 608:ecfc43176b2d
made squares equally sized, and 1px bigger
author | arg@mig29 |
---|---|
date | Fri, 01 Dec 2006 17:55:46 +0100 |
parents | 16762f7414de |
children | 5f4bb0a58f32 |
line diff
1.1 --- a/draw.c Fri Dec 01 17:51:05 2006 +0100 1.2 +++ b/draw.c Fri Dec 01 17:55:46 2006 +0100 1.3 @@ -76,14 +76,14 @@ 1.4 } 1.5 x = (h + 2) / 4; 1.6 if(filledsquare) { 1.7 - r.x = dc.x + 2; 1.8 - r.y = dc.y + 2; 1.9 - r.width = r.height = x; 1.10 + r.x = dc.x + 1; 1.11 + r.y = dc.y + 1; 1.12 + r.width = r.height = x + 1; 1.13 XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); 1.14 } 1.15 else if(emptysquare) { 1.16 - pt[0].x = dc.x + 2; 1.17 - pt[0].y = dc.y + 2; 1.18 + pt[0].x = dc.x + 1; 1.19 + pt[0].y = dc.y + 1; 1.20 pt[1].x = x; 1.21 pt[1].y = 0; 1.22 pt[2].x = 0;