emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Gerd Moellmann
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Wed, 28 Nov 2001 12:10:43 -0500

Index: emacs/src/xterm.c
diff -u emacs/src/xterm.c:1.688 emacs/src/xterm.c:1.689
--- emacs/src/xterm.c:1.688     Sat Nov 24 12:10:39 2001
+++ emacs/src/xterm.c   Wed Nov 28 12:07:59 2001
@@ -5186,7 +5186,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;
@@ -5194,7 +5199,7 @@
       x0 = FRAME_TO_WINDOW_PIXEL_X (w, x0);
       x1 = FRAME_TO_WINDOW_PIXEL_X (w, x1);
       
-      if (!row->full_width_p && XFASTINT (w->left_margin_width) != 0)
+      if (XFASTINT (w->left_margin_width) != 0)
        {
          int left_area_width = window_box_width (w, LEFT_MARGIN_AREA);
          x0 -= left_area_width;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]