Commit d2c48e86 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(resize_mini_window): Don't report changed window

height if it actually hasn't changed.
parent ccce6056
...@@ -5507,13 +5507,14 @@ resize_mini_window (w, exact_p) ...@@ -5507,13 +5507,14 @@ resize_mini_window (w, exact_p)
|| BEGV == ZV) || BEGV == ZV)
{ {
Lisp_Object old_selected_window; Lisp_Object old_selected_window;
int old_height = XFASTINT (w->height);
freeze_window_starts (f, height > XFASTINT (w->height)); freeze_window_starts (f, height > XFASTINT (w->height));
old_selected_window = selected_window; old_selected_window = selected_window;
XSETWINDOW (selected_window, w); XSETWINDOW (selected_window, w);
change_window_height (height - XFASTINT (w->height), 0); change_window_height (height - XFASTINT (w->height), 0);
selected_window = old_selected_window; selected_window = old_selected_window;
window_height_changed_p = 1; window_height_changed_p = XFASTINT (w->height) != old_height;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment