changeset 29981:e4256ac89b92

(try_window_reusing_current_matrix): Don't try to reuse the display if windows_or_buffers_changed.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Jun 2000 20:29:56 +0000
parents 171ba59e1cb0
children 28d6237b592d
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jun 28 20:28:50 2000 +0000
+++ b/src/xdisp.c	Wed Jun 28 20:29:56 2000 +0000
@@ -9507,8 +9507,12 @@
   struct glyph_row *start_row;
   int start_vpos, min_y, max_y;
 
-  /* Right now this function doesn't handle terminal frames.  */
-  if (!FRAME_WINDOW_P (f))
+  
+  if (/* This function doesn't handle terminal frames.  */
+      !FRAME_WINDOW_P (f)
+      /* Don't try to reuse the display if windows have been split
+	 or such.  */
+      || windows_or_buffers_changed)
     return 0;
 
   /* Can't do this if region may have changed.  */