diff src/xdisp.c @ 25729:7b888fb10913

(resize_mini_window): Don't report changed window height if it actually hasn't changed.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 15 Sep 1999 12:58:44 +0000
parents 790503d553e1
children e26ea124e009
line wrap: on
line diff
--- a/src/xdisp.c	Wed Sep 15 12:58:42 1999 +0000
+++ b/src/xdisp.c	Wed Sep 15 12:58:44 1999 +0000
@@ -5507,13 +5507,14 @@
 	  || BEGV == ZV)
 	{
 	  Lisp_Object old_selected_window;
+	  int old_height = XFASTINT (w->height);
 	      
 	  freeze_window_starts (f, height > XFASTINT (w->height));
 	  old_selected_window = selected_window;
 	  XSETWINDOW (selected_window, w);
 	  change_window_height (height - XFASTINT (w->height), 0);
 	  selected_window = old_selected_window;
-	  window_height_changed_p = 1;
+	  window_height_changed_p = XFASTINT (w->height) != old_height;
 	}
     }