# HG changeset patch # User Richard M. Stallman # Date 834440482 0 # Node ID 72b57d1c8de01fb3cc49919fe877c323d05d8ed0 # Parent fcb239c22d040a595f57ac4311d3236fae07b19e Whitespace and #if 0 code changes. diff -r fcb239c22d04 -r 72b57d1c8de0 src/window.c --- a/src/window.c Mon Jun 10 21:00:11 1996 +0000 +++ b/src/window.c Mon Jun 10 21:01:22 1996 +0000 @@ -3086,7 +3086,7 @@ 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); -#if defined(HAVE_WINDOW_SYSTEM) || (defined(MSDOS) && defined(MULTI_FRAME)) +#if defined (HAVE_WINDOW_SYSTEM) || (defined (MSDOS) && defined (MULTI_FRAME)) if (XFASTINT (data->frame_menu_bar_lines) != previous_frame_menu_bar_lines) x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); @@ -3224,7 +3224,7 @@ #if 0 /* I don't understand why this is needed, and it causes problems when the frame's old selected window has been deleted. */ #ifdef MULTI_FRAME - if (f != selected_frame && ! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f)) + if (f != selected_frame && FRAME_WINDOW_P (f)) do_switch_frame (WINDOW_FRAME (XWINDOW (data->root_window)), Qnil, 0); #endif @@ -3235,7 +3235,7 @@ || previous_frame_width != FRAME_WIDTH (f)) change_frame_size (f, previous_frame_height, previous_frame_width, 0, 0); -#if defined(HAVE_WINDOW_SYSTEM) || (defined(MSDOS) && defined(MULTI_FRAME)) +#if defined (HAVE_WINDOW_SYSTEM) || (defined (MSDOS) && defined (MULTI_FRAME)) if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); #endif