comparison src/xfns.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 fed7f17af8c1
children 88db4c84b6fd
comparison
equal deleted inserted replaced
28009:190143c77ae3 28010:5e3c139838a6
1912 { 1912 {
1913 struct window *w = XWINDOW (window); 1913 struct window *w = XWINDOW (window);
1914 1914
1915 XSETFASTINT (w->top, XFASTINT (w->top) + n); 1915 XSETFASTINT (w->top, XFASTINT (w->top) + n);
1916 XSETFASTINT (w->height, XFASTINT (w->height) - n); 1916 XSETFASTINT (w->height, XFASTINT (w->height) - n);
1917
1918 if (INTEGERP (w->orig_top))
1919 XSETFASTINT (w->orig_top, XFASTINT (w->orig_top) + n);
1920 if (INTEGERP (w->orig_height))
1921 XSETFASTINT (w->orig_height, XFASTINT (w->orig_height) - n);
1917 1922
1918 /* Handle just the top child in a vertical split. */ 1923 /* Handle just the top child in a vertical split. */
1919 if (!NILP (w->vchild)) 1924 if (!NILP (w->vchild))
1920 x_set_menu_bar_lines_1 (w->vchild, n); 1925 x_set_menu_bar_lines_1 (w->vchild, n);
1921 1926