changeset 65063:cbd9034375be

(redisplay_window): Call update_window_fringes with KEEP_CURRENT_P non-0 if we are going to refresh fringes later.
author Kim F. Storm <storm@cua.dk>
date Sun, 21 Aug 2005 20:58:03 +0000
parents 8370ced2ae75
children ae16fdfb41ab
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Aug 21 20:57:42 2005 +0000
+++ b/src/xdisp.c	Sun Aug 21 20:58:03 2005 +0000
@@ -12730,10 +12730,9 @@
 
 #ifdef HAVE_WINDOW_SYSTEM
   if (FRAME_WINDOW_P (f)
-      && update_window_fringes (w, 0)
-      && !just_this_one_p
-      && (used_current_matrix_p || overlay_arrow_seen)
-      && !w->pseudo_window_p)
+      && update_window_fringes (w, (just_this_one_p
+				    || (!used_current_matrix_p && !overlay_arrow_seen)
+				    || w->pseudo_window_p)))
     {
       update_begin (f);
       BLOCK_INPUT;