]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug #12277 with incomplete redisplay of the vertical border between windows.
authorEli Zaretskii <eliz@gnu.org>
Sun, 9 Sep 2012 17:59:50 +0000 (20:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 9 Sep 2012 17:59:50 +0000 (20:59 +0300)
 src/dispnew.c (update_window_line): When the left margin area of a
 screen line is updated, set the redraw_fringe_bitmaps_p flag of
 that screen line.

src/ChangeLog
src/dispnew.c

index ae99fcc138d206117e73da6af64559c61da7da3a..e336e3dfe89e8f9be5dbeb0dd3abaac2ed39bbed 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * dispnew.c (update_window_line): When the left margin area of a
+       screen line is updated, set the redraw_fringe_bitmaps_p flag of
+       that screen line.  (Bug#12277)
+
 2012-09-09  Paul Eggert  <eggert@cs.ucla.edu>
 
        Assume C89 or later for math functions (Bug#12381).
index 85b3254aae3f854e7b66ba2fdbbfe8aa2e8c8046..fae415dcaf2cd9302229ebb198fafc3dbb9334e5 100644 (file)
@@ -3951,6 +3951,11 @@ update_window_line (struct window *w, int vpos, bool *mouse_face_overwritten_p)
        {
          changed_p = 1;
          update_marginal_area (w, LEFT_MARGIN_AREA, vpos);
+         /* Setting this flag will ensure the vertical border, if
+            any, between this window and the one on its left will be
+            redrawn.  This is necessary because updating the left
+            margin area can potentially draw over the border.  */
+         current_row->redraw_fringe_bitmaps_p = 1;
        }
 
       /* Update the display of the text area.  */