From: Geoff Voelker Date: Tue, 23 Jan 1996 18:56:15 +0000 (+0000) Subject: (update_menu__ba, redisplay_window) :" Use FRAME_WINDOW_P X-Git-Tag: emacs-19.34~1595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1e749218578c73327cc869017ad40d0c483092f;p=emacs.git (update_menu__ba, redisplay_window) :" Use FRAME_WINDOW_P instead of only testing for X11. --- diff --git a/src/xdisp.c b/src/xdisp.c index 61b686d3094..e89e843d6a2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1287,7 +1287,7 @@ update_menu_bar (f, save_match_data) if (update_mode_lines) w->update_mode_line = Qt; - if (FRAME_X_P (f) + if (FRAME_WINDOW_P (f) ? #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) FRAME_EXTERNAL_MENU_BAR (f) @@ -1333,7 +1333,7 @@ update_menu_bar (f, save_match_data) call1 (Vrun_hooks, Qmenu_bar_update_hook); FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f)); #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) - if (FRAME_X_P (f)) + if (FRAME_WINDOW_P (f)) set_frame_menubar (f, 0, 0); #endif /* USE_X_TOOLKIT || HAVE_NTGUI */ @@ -1754,7 +1754,7 @@ done: /* When we reach a frame's selected window, redo the frame's menu bar. */ if (update_mode_line - && (FRAME_X_P (f) + && (FRAME_WINDOW_P (f) ? #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) FRAME_EXTERNAL_MENU_BAR (f)