Mercurial > emacs
comparison src/xterm.c @ 36117:776ddfaf7665
(x_set_glyph_string_background_width): Extend the
background face to the end of the drawing area in the text
area, only.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 16 Feb 2001 12:44:32 +0000 |
parents | 68c02499d990 |
children | 94d6ad393a74 |
comparison
equal
deleted
inserted
replaced
36116:68c02499d990 | 36117:776ddfaf7665 |
---|---|
4631 the drawing area, set S->extends_to_end_of_line_p. */ | 4631 the drawing area, set S->extends_to_end_of_line_p. */ |
4632 struct face *default_face = FACE_FROM_ID (s->f, DEFAULT_FACE_ID); | 4632 struct face *default_face = FACE_FROM_ID (s->f, DEFAULT_FACE_ID); |
4633 | 4633 |
4634 if (start == s->row->used[s->area] | 4634 if (start == s->row->used[s->area] |
4635 && s->hl == DRAW_NORMAL_TEXT | 4635 && s->hl == DRAW_NORMAL_TEXT |
4636 && ((s->area == TEXT_AREA && s->row->fill_line_p) | 4636 && s->area == TEXT_AREA |
4637 && (s->row->fill_line_p | |
4637 || s->face->background != default_face->background | 4638 || s->face->background != default_face->background |
4638 || s->face->stipple != default_face->stipple)) | 4639 || s->face->stipple != default_face->stipple)) |
4639 s->extends_to_end_of_line_p = 1; | 4640 s->extends_to_end_of_line_p = 1; |
4640 | 4641 |
4641 /* If S extends its face to the end of the line, set its | 4642 /* If S extends its face to the end of the line, set its |