#ifdef HAVE_X_WINDOWS
x_set_cr_source_with_gc_background (f, s->gc, s->hl != DRAW_CURSOR);
#else
- pgtk_set_cr_source_with_color (f, s->xgcv.background, true);
+ pgtk_set_cr_source_with_color (f, s->xgcv.background,
+ s->hl != DRAW_CURSOR);
#endif
#else
uint32_t col = be_background;
static void
x_clear_glyph_string_rect (struct glyph_string *s, int x, int y, int w, int h)
{
- pgtk_fill_rectangle (s->f, s->xgcv.background, x, y, w, h, true);
+ pgtk_fill_rectangle (s->f, s->xgcv.background, x, y, w, h,
+ (s->first_glyph->type != STRETCH_GLYPH
+ || s->hl != DRAW_CURSOR));
}