# HG changeset patch # User Karl Heuer # Date 801535573 0 # Node ID f9b853c18bb5e7a66e4ebdc19a3b0c4a825fa2ef # Parent b5efbe330c86d7a4bf3a929ad67d11cc64a4ccbe (x_window): Call initialize_frame_menubar near the end, after UNBLOCK_INPUT. diff -r b5efbe330c86 -r f9b853c18bb5 src/xfns.c --- a/src/xfns.c Sat May 27 00:40:31 1995 +0000 +++ b/src/xfns.c Sat May 27 00:46:13 1995 +0000 @@ -2389,9 +2389,6 @@ 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 @@ 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"); }