changeset 11962:f9b853c18bb5

(x_window): Call initialize_frame_menubar near the end, after UNBLOCK_INPUT.
author Karl Heuer <kwzh@gnu.org>
date Sat, 27 May 1995 00:46:13 +0000
parents b5efbe330c86
children bfb07760304d
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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");
 }