From 4314246fcfa282fcc0bcfd6913a4b6471a597eeb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 30 Jul 1999 08:24:02 +0000 Subject: [PATCH] (Fset_window_configuration) [MSDOS]: Don't call x_set_toolbar_lines. --- src/window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/window.c b/src/window.c index db7d06056e3..f29bbd82823 100644 --- a/src/window.c +++ b/src/window.c @@ -3740,9 +3740,11 @@ the return value is nil. Otherwise the value is t.") if (XFASTINT (data->frame_menu_bar_lines) != previous_frame_menu_bar_lines) x_set_menu_bar_lines (f, data->frame_menu_bar_lines, make_number (0)); +#ifdef HAVE_WINDOW_SYSTEM if (XFASTINT (data->frame_toolbar_lines) != previous_frame_toolbar_lines) x_set_toolbar_lines (f, data->frame_toolbar_lines, make_number (0)); +#endif #endif if (! NILP (XWINDOW (selected_window)->buffer)) @@ -3905,9 +3907,11 @@ the return value is nil. Otherwise the value is t.") if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) x_set_menu_bar_lines (f, make_number (previous_frame_menu_bar_lines), make_number (0)); +#ifdef HAVE_WINDOW_SYSTEM if (previous_frame_toolbar_lines != FRAME_TOOLBAR_LINES (f)) x_set_toolbar_lines (f, make_number (previous_frame_toolbar_lines), make_number (0)); +#endif #endif /* Now, free glyph matrices in windows that were not reused. */ -- 2.39.5