From 30c6d055a96a4b7049d8a7d36ef3fa92907804dd Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 5 Jan 2002 00:46:01 +0000 Subject: [PATCH] (x_draw_glyphs): Don't call notice_overwritten_cursor if OVERLAPS_P. --- src/w32term.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) for (s = head; s; s = s->next) x_draw_glyph_string (s); - if (area == TEXT_AREA && !row->full_width_p) + if (area == TEXT_AREA + && !row->full_width_p + /* When drawing overlapping rows, only the glyph strings' + foreground is drawn, which doesn't erase a cursor + completely. */ + && !overlaps_p) { int x0 = head ? head->x : x; int x1 = tail ? tail->x + tail->background_width : x; -- 2.39.5