From eb79f5cc4d13eaf7205a5bfb7550ae7af01dc5de Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 16 Feb 2001 12:44:32 +0000 Subject: [PATCH] (x_set_glyph_string_background_width): Extend the background face to the end of the drawing area in the text area, only. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 0a62e1b7616..abe2ee0fd51 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4633,7 +4633,8 @@ x_set_glyph_string_background_width (s, start, last_x) if (start == s->row->used[s->area] && s->hl == DRAW_NORMAL_TEXT - && ((s->area == TEXT_AREA && s->row->fill_line_p) + && s->area == TEXT_AREA + && (s->row->fill_line_p || s->face->background != default_face->background || s->face->stipple != default_face->stipple)) s->extends_to_end_of_line_p = 1; -- 2.39.5