summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-23 18:22:13 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-23 18:22:13 +0000
commitc4ff032379d9dcadb1d679ab74507c180fa5a709 (patch)
tree96fbaa2c3695f09b35031cbaf8def93d1d5d3648
parenta15849cbd891825a607b6c1505bc9f823bee54c0 (diff)
downloademacs-c4ff032379d9dcadb1d679ab74507c180fa5a709.tar.gz
(Fx_create_frame): Call initialize_frame_menubar.
-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. */
{