mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-14 06:59:46 -05:00
Use CAIRO_OPERATOR_OVER for drawing the background
This commit is contained in:
parent
967bf72ef5
commit
940f75173b
1 changed files with 2 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue