changing heights, so that a future shrink_mini_window won't
restore a bogus height.
2001-01-26 Gerd Moellmann <gerd@gnu.org>
+ * window.c (size_window): Set the window's orig_top to nil when
+ changing heights, so that a future shrink_mini_window won't
+ restore a bogus height.
+
* frame.c (do_switch_frame): If selected frame has a mini-window,
resize that to exact size.
sideward = &w->hchild;
forward = &w->vchild;
w->height = make_number (size);
+ w->orig_height = Qnil;
}
if (!NILP (*sideward))
}
else if (XFASTINT (w->height) > 1)
{
+ /* Distribute the additional lines of the mini-window
+ among the other windows. */
Lisp_Object window;
XSETWINDOW (window, w);
enlarge_window (window, 1 - XFASTINT (w->height), 0);