cairo_set_font_size(cr, radius * CLOCK_DIGITS_FONTS_SIZE_RATIO);
- /* Draw clock background and outer rim */
cairo_set_line_width(cr, 1.5);
+
+ /*
+ * Workaround to fill space between outer black rim and limit of transparent
+ * mask.
+ */
+ cairo_set_source_rgb(cr, 0.0, 0.0, 0.0); /* Black background */
+ cairo_rectangle(cr, 0, 0, 64, 64);
+ cairo_fill(cr);
+ cairo_stroke(cr);
+
+ /* Draw clock background and outer rim */
cairo_arc(cr, center_x, center_y, radius, 0, 2 * M_PI);
cairo_set_source_rgb(cr, 1.0, 1.0, 1.0);
cairo_fill_preserve(cr); /* White background */