diff options
| author | Eli Zaretskii | 2001-08-28 17:12:20 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-08-28 17:12:20 +0000 |
| commit | f4fccc1e96468c3d3e9cc0e64cbebda715fbfcc0 (patch) | |
| tree | bacdc7571b1b0cbcbbc312f2c60fca2d5fad1024 /src | |
| parent | 99739bbf427ac61d3e2a687b07575d4ef916638e (diff) | |
| download | emacs-f4fccc1e96468c3d3e9cc0e64cbebda715fbfcc0.tar.gz emacs-f4fccc1e96468c3d3e9cc0e64cbebda715fbfcc0.zip | |
(x_set_glyph_string_background_width)
(show_mouse_face): Track the last changes in xterm.c.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32term.c | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 92d3da0f3bc..63a749d0a98 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-08-28 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * w32term.c (x_set_glyph_string_background_width) | ||
| 4 | (show_mouse_face): Track the last changes in xterm.c. | ||
| 5 | |||
| 1 | 2001-08-28 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-08-28 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * xterm.c (x_set_glyph_string_background_width): Set the glyph | 8 | * xterm.c (x_set_glyph_string_background_width): Set the glyph |
diff --git a/src/w32term.c b/src/w32term.c index 372c702ecf3..f002441f8ea 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -4678,11 +4678,13 @@ x_set_glyph_string_background_width (s, start, last_x) | |||
| 4678 | struct face *default_face = FACE_FROM_ID (s->f, DEFAULT_FACE_ID); | 4678 | struct face *default_face = FACE_FROM_ID (s->f, DEFAULT_FACE_ID); |
| 4679 | 4679 | ||
| 4680 | if (start == s->row->used[s->area] | 4680 | if (start == s->row->used[s->area] |
| 4681 | && s->hl == DRAW_NORMAL_TEXT | ||
| 4682 | && s->area == TEXT_AREA | 4681 | && s->area == TEXT_AREA |
| 4683 | && (s->row->fill_line_p | 4682 | && ((s->hl == DRAW_NORMAL_TEXT |
| 4684 | || s->face->background != default_face->background | 4683 | && (s->row->fill_line_p |
| 4685 | || s->face->stipple != default_face->stipple)) | 4684 | || s->face->background != default_face->background |
| 4685 | || s->face->stipple != default_face->stipple | ||
| 4686 | || s->row->mouse_face_p)) | ||
| 4687 | || s->hl == DRAW_MOUSE_FACE)) | ||
| 4686 | s->extends_to_end_of_line_p = 1; | 4688 | s->extends_to_end_of_line_p = 1; |
| 4687 | 4689 | ||
| 4688 | /* If S extends its face to the end of the line, set its | 4690 | /* If S extends its face to the end of the line, set its |
| @@ -7099,9 +7101,9 @@ show_mouse_face (dpyinfo, draw) | |||
| 7099 | 7101 | ||
| 7100 | if (end_hpos > start_hpos) | 7102 | if (end_hpos > start_hpos) |
| 7101 | { | 7103 | { |
| 7102 | row->mouse_face_p = draw == DRAW_MOUSE_FACE; | ||
| 7103 | x_draw_glyphs (w, start_x, row, TEXT_AREA, | 7104 | x_draw_glyphs (w, start_x, row, TEXT_AREA, |
| 7104 | start_hpos, end_hpos, draw, NULL, NULL, 0); | 7105 | start_hpos, end_hpos, draw, NULL, NULL, 0); |
| 7106 | row->mouse_face_p = draw == DRAW_MOUSE_FACE; | ||
| 7105 | } | 7107 | } |
| 7106 | } | 7108 | } |
| 7107 | 7109 | ||