clock: Drop transparent background
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Jun 2012 15:23:31 +0000 (11:23 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Jun 2012 15:23:31 +0000 (11:23 -0400)
Too hard to read.

clients/desktop-shell.c

index 4a22f17..03bb6ec 100644 (file)
@@ -327,14 +327,6 @@ panel_clock_redraw_handler(struct widget *widget, void *data)
 
        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);