diff options
author | Eli Zaretskii <[email protected]> | 2001-08-28 17:12:20 +0000 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2001-08-28 17:12:20 +0000 |
commit | f4fccc1e96468c3d3e9cc0e64cbebda715fbfcc0 (patch) | |
tree | bacdc7571b1b0cbcbbc312f2c60fca2d5fad1024 /src/w32term.c | |
parent | 99739bbf427ac61d3e2a687b07575d4ef916638e (diff) |
(x_set_glyph_string_background_width)
(show_mouse_face): Track the last changes in xterm.c.
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/w32term.c b/src/w32term.c index 372c702ecf..f002441f8e 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4678,11 +4678,13 @@ x_set_glyph_string_background_width (s, start, last_x) struct face *default_face = FACE_FROM_ID (s->f, DEFAULT_FACE_ID); if (start == s->row->used[s->area] - && s->hl == DRAW_NORMAL_TEXT && s->area == TEXT_AREA - && (s->row->fill_line_p - || s->face->background != default_face->background - || s->face->stipple != default_face->stipple)) + && ((s->hl == DRAW_NORMAL_TEXT + && (s->row->fill_line_p + || s->face->background != default_face->background + || s->face->stipple != default_face->stipple + || s->row->mouse_face_p)) + || s->hl == DRAW_MOUSE_FACE)) s->extends_to_end_of_line_p = 1; /* If S extends its face to the end of the line, set its @@ -7099,9 +7101,9 @@ show_mouse_face (dpyinfo, draw) if (end_hpos > start_hpos) { - row->mouse_face_p = draw == DRAW_MOUSE_FACE; x_draw_glyphs (w, start_x, row, TEXT_AREA, start_hpos, end_hpos, draw, NULL, NULL, 0); + row->mouse_face_p = draw == DRAW_MOUSE_FACE; } } |