summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index c5a064809fa..dea6db53db2 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -75,6 +75,7 @@ XtAppContext Xt_app_con;
Widget Xt_app_shell;
extern void free_frame_menubar ();
+extern void free_frame_menubar ();
#endif /* USE_X_TOOLKIT */
#define min(a,b) ((a) < (b) ? (a) : (b))
@@ -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. */
{