From: Kristian Høgsberg Date: Tue, 11 Jan 2011 15:15:21 +0000 (-0500) Subject: Only draw background if it's different from what's already there X-Git-Tag: 0.85.0~287^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb266a320714f6664d810137dabf67b1e7230275;p=profile%2Fivi%2Fwayland.git Only draw background if it's different from what's already there --- diff --git a/clients/terminal.c b/clients/terminal.c index 345132b..e1c5428 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -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));