aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2002-01-05 00:46:01 +0000
committerJason Rumney2002-01-05 00:46:01 +0000
commit30c6d055a96a4b7049d8a7d36ef3fa92907804dd (patch)
tree26fd57ab4045be3492e521e040628a428318a035
parent44368f8f7834d885b7de108d68f301d579bdb276 (diff)
downloademacs-30c6d055a96a4b7049d8a7d36ef3fa92907804dd.tar.gz
emacs-30c6d055a96a4b7049d8a7d36ef3fa92907804dd.zip
(x_draw_glyphs): Don't call notice_overwritten_cursor
if OVERLAPS_P.
-rw-r--r--src/w32term.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 8a007602dd2..edb4263a0ff 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -5040,7 +5040,12 @@ x_draw_glyphs (w, x, row, area, start, end, hl, overlaps_p)
5040 for (s = head; s; s = s->next) 5040 for (s = head; s; s = s->next)
5041 x_draw_glyph_string (s); 5041 x_draw_glyph_string (s);
5042 5042
5043 if (area == TEXT_AREA && !row->full_width_p) 5043 if (area == TEXT_AREA
5044 && !row->full_width_p
5045 /* When drawing overlapping rows, only the glyph strings'
5046 foreground is drawn, which doesn't erase a cursor
5047 completely. */
5048 && !overlaps_p)
5044 { 5049 {
5045 int x0 = head ? head->x : x; 5050 int x0 = head ? head->x : x;
5046 int x1 = tail ? tail->x + tail->background_width : x; 5051 int x1 = tail ? tail->x + tail->background_width : x;