Commit 940f7517 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

Use CAIRO_OPERATOR_OVER for drawing the background

parent 967bf72e
......@@ -676,7 +676,6 @@ terminal_draw_contents(struct terminal *terminal)
terminal->color_scheme->border.a);
cairo_paint(cr);
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
cairo_set_font_face(cr, terminal->font_normal);
cairo_set_font_size(cr, 14);
cairo_font_extents(cr, &extents);
......@@ -714,6 +713,8 @@ terminal_draw_contents(struct terminal *terminal)
cairo_fill(cr);
}
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
/* paint the foreground */
for (row = 0; row < terminal->height; row++)
for (col = 0; col < terminal->width; col++)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment