summaryrefslogtreecommitdiff
path: root/lwlib/lwlib-Xlw.c
diff options
context:
space:
mode:
authorPaul Reilly <pmr@pajato.com>1994-09-16 18:39:54 +0000
committerPaul Reilly <pmr@pajato.com>1994-09-16 18:39:54 +0000
commita27ba57907b57769b053a22b9a48866b4f3c071d (patch)
treee75b1435fb4819f7fe868c63e20c0c92ff98dff7 /lwlib/lwlib-Xlw.c
parent25cad2df1c1d0e8bcfe9fc3f448266d297d431f7 (diff)
downloademacs-a27ba57907b57769b053a22b9a48866b4f3c071d.tar.gz
entered into RCS
Diffstat (limited to 'lwlib/lwlib-Xlw.c')
-rw-r--r--lwlib/lwlib-Xlw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lwlib/lwlib-Xlw.c b/lwlib/lwlib-Xlw.c
index 61b2d5b0562..3c0bd308699 100644
--- a/lwlib/lwlib-Xlw.c
+++ b/lwlib/lwlib-Xlw.c
@@ -77,10 +77,15 @@ xlw_create_menubar (instance)
widget_instance* instance;
{
Widget widget;
- Arg al[1];
+ Arg al[5];
int ac = 0;
XtSetArg (al[ac], XtNmenu, instance->info->val); ac++;
+#ifdef emacs
+ XtSetArg (al[ac], XtNshowGrip, 0); ac++;
+ XtSetArg (al[ac], XtNresizeToPreferred, 1); ac++;
+ XtSetArg (al[ac], XtNallowResize, 1); ac++;
+#endif
/* This used to use XtVaCreateWidget, but an old Xt version
has a bug in XtVaCreateWidget that frees instance->info->name. */