From 422fbe5f33bc69d49efdabad3b1a992bc709add5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 27 May 1995 00:46:13 +0000 Subject: [PATCH] (x_window): Call initialize_frame_menubar near the end, after UNBLOCK_INPUT. --- src/xfns.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"); } -- 2.39.2