# HG changeset patch # User Jason Rumney # Date 1010191561 0 # Node ID 025e76c82b80c5af2906ac88b554448a00015ce2 # Parent 7820162c77dda20b13bfe59a75442db44d65a52b (x_draw_glyphs): Don't call notice_overwritten_cursor if OVERLAPS_P. diff -r 7820162c77dd -r 025e76c82b80 src/w32term.c --- a/src/w32term.c Sat Jan 05 00:44:34 2002 +0000 +++ b/src/w32term.c Sat Jan 05 00:46:01 2002 +0000 @@ -5040,7 +5040,12 @@ 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;