Mercurial > emacs
diff src/frame.c @ 28010:5e3c139838a6
(x_set_menu_bar_lines_1): Adjust window's orig_top and
orig_height if set.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 06 Mar 2000 12:07:15 +0000 |
parents | 403b2b833ce2 |
children | eee51908f90f |
line wrap: on
line diff
--- a/src/frame.c Mon Mar 06 10:24:37 2000 +0000 +++ b/src/frame.c Mon Mar 06 12:07:15 2000 +0000 @@ -174,6 +174,11 @@ 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))