better compute for empty circle size
This commit is contained in:
parent
a06674fbe7
commit
f20c729d64
2
draw.c
2
draw.c
|
@ -111,7 +111,7 @@ drawcircle(Display *disp, int screen, int x, int y, int r, Drawable drawable, in
|
||||||
cairo_fill(cr);
|
cairo_fill(cr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cairo_arc (cr, x + r + 1, y + r, r, 0, 2 * M_PI);
|
cairo_arc (cr, x + r, y + r, r - 1, 0, 2 * M_PI);
|
||||||
|
|
||||||
cairo_stroke(cr);
|
cairo_stroke(cr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue