]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_glyphs): Don't call notice_overwritten_cursor
authorJason Rumney <jasonr@gnu.org>
Sat, 5 Jan 2002 00:42:26 +0000 (00:42 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 5 Jan 2002 00:42:26 +0000 (00:42 +0000)
if OVERLAPS_P.

src/w32term.c

index 5219880d7b57cc6fed07cd6ddd2feafa98767009..028c722b3b9b385fdf95fbdff40d981e523902ca 100644 (file)
@@ -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;