Mercurial > emacs
changeset 6852:5cc78dd8efc3
(Fset_window_configuration): Only call X fns if HAVE_X_WINDOWS.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 13 Apr 1994 18:14:44 +0000 |
parents | a4cfe12560d0 |
children | 581a72b47b19 |
files | src/window.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Wed Apr 13 18:04:40 1994 +0000 +++ b/src/window.c Wed Apr 13 18:14:44 1994 +0000 @@ -2591,9 +2591,11 @@ if (XFASTINT (data->frame_height) != previous_frame_height || XFASTINT (data->frame_width) != previous_frame_width) change_frame_size (f, data->frame_height, data->frame_width, 0, 0); +#ifdef HAVE_X_WINDOWS if (XFASTINT (data->frame_menu_bar_lines) != previous_frame_menu_bar_lines) x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); +#endif windows_or_buffers_changed++; @@ -2731,8 +2733,10 @@ || previous_frame_width != FRAME_WIDTH (f)) change_frame_size (f, previous_frame_height, previous_frame_width, 0, 0); +#ifdef HAVE_X_WINDOWS if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); +#endif } #ifdef MULTI_FRAME