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

dev
Kristian Høgsberg 14 years ago
parent 71eca89356
commit fb266a3207
  1. 3
      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));

Loading…
Cancel
Save