]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_NTGUI] (Fset_window_configuration): Set menu bar lines.
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:27:45 +0000 (07:27 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:27:45 +0000 (07:27 +0000)
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.

src/window.c

index 2896c2224b3b454f397b73536a499393f39c29f5..87011df6f564834f02f590fe0a50565f5dcd0424 100644 (file)
@@ -2970,7 +2970,7 @@ by `current-window-configuration' (which see).")
       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
+#ifdef HAVE_WINDOW_SYSTEM
       if (XFASTINT (data->frame_menu_bar_lines)
          != previous_frame_menu_bar_lines)
        x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0);
@@ -3119,7 +3119,7 @@ by `current-window-configuration' (which see).")
          || previous_frame_width != FRAME_WIDTH (f))
        change_frame_size (f, previous_frame_height, previous_frame_width,
                           0, 0);
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
       if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f))
        x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0);
 #endif