surface = window_get_surface(clock->panel->window);
cr = cairo_create(surface);
- cairo_rectangle(cr, allocation.x, allocation.y,
- allocation.width, allocation.height);
- cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
- cairo_set_source_rgba(cr, 0.0, 0.0, 0.0, 0.1);
- cairo_rectangle(cr, allocation.x, allocation.y, 3, 3);
- cairo_fill(cr);
-
- cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
cairo_select_font_face(cr, "sans",
CAIRO_FONT_SLANT_NORMAL,
CAIRO_FONT_WEIGHT_NORMAL);