orig_height if set.
+2000-03-06 Gerd Moellmann <gerd@gnu.org>
+
+ * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and
+ orig_height if set.
+
+ * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and
+ orig_height if set.
+
2000-03-06 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c (IT_note_mouse_highlight): Return immediately if frame's
FRAME_INTERNAL_BORDER_WIDTH.
* xdisp.c (try_window_id): Recompute unchanged information if
- it is invalid.
+ it is obviously invalid.
* xterm.c (x_term_init): Create a colormap if not using the
default visual.
XSETFASTINT (w->last_modified, 0);
XSETFASTINT (w->top, XFASTINT (w->top) + n);
XSETFASTINT (w->height, XFASTINT (w->height) - n);
+
+ if (INTEGERP (w->orig_top))
+ XSETFASTINT (w->orig_top, XFASTINT (w->orig_top) + n);
+ if (INTEGERP (w->orig_height))
+ XSETFASTINT (w->orig_height, XFASTINT (w->orig_height) - n);
/* Handle just the top child in a vertical split. */
if (!NILP (w->vchild))
XSETFASTINT (w->top, XFASTINT (w->top) + n);
XSETFASTINT (w->height, XFASTINT (w->height) - n);
+ if (INTEGERP (w->orig_top))
+ XSETFASTINT (w->orig_top, XFASTINT (w->orig_top) + n);
+ if (INTEGERP (w->orig_height))
+ XSETFASTINT (w->orig_height, XFASTINT (w->orig_height) - n);
+
/* Handle just the top child in a vertical split. */
if (!NILP (w->vchild))
x_set_menu_bar_lines_1 (w->vchild, n);