changeset 52382:012052654211

(redisplay_internal): Fix change of 2003-04-30. Don't tell redisplay display is accurate when it's actually been paused for pending input.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 29 Aug 2003 21:46:17 +0000
parents e41ad488a239
children 38aff224eba9
files src/xdisp.c
diffstat 1 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Aug 29 16:21:03 2003 +0000
+++ b/src/xdisp.c	Fri Aug 29 21:46:17 2003 +0000
@@ -10069,15 +10069,18 @@
 	    }
 	}
 
-      /* Do the mark_window_display_accurate after all windows have
-	 been redisplayed because this call resets flags in buffers
-	 which are needed for proper redisplay.  */
-      for (i = 0; i < n; ++i)
-	{
-	  struct frame *f = updated[i];
-	  mark_window_display_accurate (f->root_window, 1);
-	  if (frame_up_to_date_hook)
-	    frame_up_to_date_hook (f);
+      if (!pause)
+	{
+	  /* Do the mark_window_display_accurate after all windows have
+	     been redisplayed because this call resets flags in buffers
+	     which are needed for proper redisplay.  */
+	  for (i = 0; i < n; ++i)
+	    {
+	      struct frame *f = updated[i];
+	      mark_window_display_accurate (f->root_window, 1);
+	      if (frame_up_to_date_hook)
+		frame_up_to_date_hook (f);
+	    }
 	}
     }
   else if (FRAME_VISIBLE_P (sf) && !FRAME_OBSCURED_P (sf))