Only draw background if it's different from what's already there

This commit is contained in:
Kristian Høgsberg 2011-01-11 10:15:21 -05:00
parent 71eca89356
commit fb266a3207

View File

@ -772,6 +772,9 @@ terminal_draw_contents(struct terminal *terminal)
}
}
if (background == terminal->color_scheme->border)
continue;
terminal_set_color(terminal, cr, background);
cairo_move_to(cr, side_margin + (col * extents.max_x_advance),
top_margin + (row * extents.height));