]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_create_frame): Call initialize_frame_menubar.
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Wed, 23 Mar 1994 18:22:13 +0000 (18:22 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Wed, 23 Mar 1994 18:22:13 +0000 (18:22 +0000)
src/xfns.c

index c5a064809faeb9dbe0fdba4083020208e9758bc7..dea6db53db201e51a3e42772a87d754df46deae1 100644 (file)
@@ -74,6 +74,7 @@ XtAppContext Xt_app_con;
    application.  */
 Widget Xt_app_shell;
 
+extern void free_frame_menubar ();
 extern void free_frame_menubar ();
 #endif /* USE_X_TOOLKIT */
 
@@ -2135,6 +2136,9 @@ be shared by the new frame.")
      or making it visible won't work.  */
   Vframe_list = Fcons (frame, Vframe_list);
 
+  /* Compute the size of the menubar and display it.  */
+  initialize_frame_menubar (f);
+
   /* Make the window appear on the frame and enable display,
      unless the caller says not to.  */
   {