From: Gerd Moellmann Date: Wed, 15 Sep 1999 12:58:44 +0000 (+0000) Subject: (resize_mini_window): Don't report changed window X-Git-Tag: emacs-pretest-21.0.90~6713 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2c48e866aebe39359872f63ef12814cf3ecc9e7;p=emacs.git (resize_mini_window): Don't report changed window height if it actually hasn't changed. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5ad0cef63db..d3f20c0b0f6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5507,13 +5507,14 @@ resize_mini_window (w, exact_p) || 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; } }