]> git.eshelyaron.com Git - emacs.git/commitdiff
(redisplay_window): Fix flicker on vertical line between
authorKim F. Storm <storm@cua.dk>
Thu, 7 Oct 2004 21:58:16 +0000 (21:58 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 7 Oct 2004 21:58:16 +0000 (21:58 +0000)
windows.  Update vertical line after drawing window fringes, but
only if actually drawing any bitmaps--or there is no fringe.

src/xdisp.c

index 37a0f9bb9d04641d3f8a8fe7c8f31bb5837e9378..b7a24a4364b5076c0ba96bf1dd16940b5ca6cf16 100644 (file)
@@ -12220,7 +12220,8 @@ redisplay_window (window, just_this_one_p)
     {
       update_begin (f);
       BLOCK_INPUT;
-      draw_window_fringes (w);
+      if (draw_window_fringes (w, 1))
+       x_draw_vertical_border (w);
       UNBLOCK_INPUT;
       update_end (f);
     }