From: Jason Rumney Date: Sat, 5 Jan 2002 00:42:26 +0000 (+0000) Subject: (x_draw_glyphs): Don't call notice_overwritten_cursor X-Git-Tag: emacs-21.2~204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0cbf82abcec2d7120f5f0090ef911b943ad1ad9b;p=emacs.git (x_draw_glyphs): Don't call notice_overwritten_cursor if OVERLAPS_P. --- diff --git a/src/w32term.c b/src/w32term.c index 5219880d7b5..028c722b3b9 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -5077,7 +5077,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;