From: Hugo Villeneuve Date: Mon, 18 Oct 2021 19:55:17 +0000 (-0400) Subject: Fix bug with calendar background X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=7bf29fb9235af325da9d53256ddf5bb847835149;p=dockapps%2Fhvclock.git Fix bug with calendar background --- diff --git a/src/clock.c b/src/clock.c index beff278..60ebdd4 100644 --- a/src/clock.c +++ b/src/clock.c @@ -353,6 +353,11 @@ draw_calendar(GtkWidget *clock, cairo_t *cr) cairo_save(cr); + cairo_set_source_rgb(cr, 1.0, 1.0, 1.0); /* White background */ + cairo_rectangle(cr, 0, 0, 64, 64); + cairo_fill(cr); + cairo_stroke(cr); + cairo_select_font_face(cr, "sans-serif", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD); cairo_set_source_rgb(cr, 0.0, 0.0, 0.0); /* Black text */