diff options
| author | Karl Heuer | 1994-04-13 18:14:44 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-13 18:14:44 +0000 |
| commit | 217f28719edf08ba2e15349713df7c9f8ab871fb (patch) | |
| tree | 82633217155dbb060f43fe00cf2637bd733750f7 /src/window.c | |
| parent | c6e7309356e0306d6adff0a95684a5c004365b67 (diff) | |
| download | emacs-217f28719edf08ba2e15349713df7c9f8ab871fb.tar.gz emacs-217f28719edf08ba2e15349713df7c9f8ab871fb.zip | |
(Fset_window_configuration): Only call X fns if HAVE_X_WINDOWS.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index ccb81357525..9515c1ca082 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2591,9 +2591,11 @@ by `current-window-configuration' (which see).") | |||
| 2591 | if (XFASTINT (data->frame_height) != previous_frame_height | 2591 | if (XFASTINT (data->frame_height) != previous_frame_height |
| 2592 | || XFASTINT (data->frame_width) != previous_frame_width) | 2592 | || XFASTINT (data->frame_width) != previous_frame_width) |
| 2593 | change_frame_size (f, data->frame_height, data->frame_width, 0, 0); | 2593 | change_frame_size (f, data->frame_height, data->frame_width, 0, 0); |
| 2594 | #ifdef HAVE_X_WINDOWS | ||
| 2594 | if (XFASTINT (data->frame_menu_bar_lines) | 2595 | if (XFASTINT (data->frame_menu_bar_lines) |
| 2595 | != previous_frame_menu_bar_lines) | 2596 | != previous_frame_menu_bar_lines) |
| 2596 | x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); | 2597 | x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); |
| 2598 | #endif | ||
| 2597 | 2599 | ||
| 2598 | windows_or_buffers_changed++; | 2600 | windows_or_buffers_changed++; |
| 2599 | 2601 | ||
| @@ -2731,8 +2733,10 @@ by `current-window-configuration' (which see).") | |||
| 2731 | || previous_frame_width != FRAME_WIDTH (f)) | 2733 | || previous_frame_width != FRAME_WIDTH (f)) |
| 2732 | change_frame_size (f, previous_frame_height, previous_frame_width, | 2734 | change_frame_size (f, previous_frame_height, previous_frame_width, |
| 2733 | 0, 0); | 2735 | 0, 0); |
| 2736 | #ifdef HAVE_X_WINDOWS | ||
| 2734 | if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) | 2737 | if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) |
| 2735 | x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); | 2738 | x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); |
| 2739 | #endif | ||
| 2736 | } | 2740 | } |
| 2737 | 2741 | ||
| 2738 | #ifdef MULTI_FRAME | 2742 | #ifdef MULTI_FRAME |