diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/frame.c | 5 | ||||
| -rw-r--r-- | src/xfns.c | 5 |
3 files changed, 19 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b97ad5ef07e..bdc8e9207f3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2000-03-06 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and | ||
| 4 | orig_height if set. | ||
| 5 | |||
| 6 | * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | ||
| 7 | orig_height if set. | ||
| 8 | |||
| 1 | 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> | 9 | 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 10 | ||
| 3 | * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | 11 | * msdos.c (IT_note_mouse_highlight): Return immediately if frame's |
| @@ -20,7 +28,7 @@ | |||
| 20 | FRAME_INTERNAL_BORDER_WIDTH. | 28 | FRAME_INTERNAL_BORDER_WIDTH. |
| 21 | 29 | ||
| 22 | * xdisp.c (try_window_id): Recompute unchanged information if | 30 | * xdisp.c (try_window_id): Recompute unchanged information if |
| 23 | it is invalid. | 31 | it is obviously invalid. |
| 24 | 32 | ||
| 25 | * xterm.c (x_term_init): Create a colormap if not using the | 33 | * xterm.c (x_term_init): Create a colormap if not using the |
| 26 | default visual. | 34 | default visual. |
diff --git a/src/frame.c b/src/frame.c index eb0f752fc06..f5cc8bf1d32 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -174,6 +174,11 @@ set_menu_bar_lines_1 (window, n) | |||
| 174 | XSETFASTINT (w->last_modified, 0); | 174 | XSETFASTINT (w->last_modified, 0); |
| 175 | XSETFASTINT (w->top, XFASTINT (w->top) + n); | 175 | XSETFASTINT (w->top, XFASTINT (w->top) + n); |
| 176 | XSETFASTINT (w->height, XFASTINT (w->height) - n); | 176 | XSETFASTINT (w->height, XFASTINT (w->height) - n); |
| 177 | |||
| 178 | if (INTEGERP (w->orig_top)) | ||
| 179 | XSETFASTINT (w->orig_top, XFASTINT (w->orig_top) + n); | ||
| 180 | if (INTEGERP (w->orig_height)) | ||
| 181 | XSETFASTINT (w->orig_height, XFASTINT (w->orig_height) - n); | ||
| 177 | 182 | ||
| 178 | /* Handle just the top child in a vertical split. */ | 183 | /* Handle just the top child in a vertical split. */ |
| 179 | if (!NILP (w->vchild)) | 184 | if (!NILP (w->vchild)) |
diff --git a/src/xfns.c b/src/xfns.c index bf241d0b4d5..dafee872a34 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1915,6 +1915,11 @@ x_set_menu_bar_lines_1 (window, n) | |||
| 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 | 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); | ||
| 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); |