From: Karl Heuer Date: Sat, 27 May 1995 00:46:13 +0000 (+0000) Subject: (x_window): Call initialize_frame_menubar X-Git-Tag: emacs-19.34~3896 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=422fbe5f33bc69d49efdabad3b1a992bc709add5;p=emacs.git (x_window): Call initialize_frame_menubar near the end, after UNBLOCK_INPUT. --- diff --git a/src/xfns.c b/src/xfns.c index a9f62fe2501..5b125682cc8 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2389,9 +2389,6 @@ x_window (f, window_prompting, minibuffer_only) f->display.x->column_widget = pane_widget; - if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) - initialize_frame_menubar (f); - /* mappedWhenManaged to false tells to the paned window to not map/unmap the emacs screen when changing menubar. This reduces flickering. */ @@ -2523,6 +2520,9 @@ x_window (f, window_prompting, minibuffer_only) UNBLOCK_INPUT; + if (!minibuffer_only && FRAME_EXTERNAL_MENU_BAR (f)) + initialize_frame_menubar (f); + if (FRAME_X_WINDOW (f) == 0) error ("Unable to create window"); }