diff options
author | Paul Reilly <pmr@pajato.com> | 1994-09-16 18:39:54 +0000 |
---|---|---|
committer | Paul Reilly <pmr@pajato.com> | 1994-09-16 18:39:54 +0000 |
commit | 5acc1a62c82a84561d64a593dad04550322226c3 (patch) | |
tree | d2d6aa5c1fac3536b3338160bd10659b3947bca4 /lwlib/lwlib-Xlw.c | |
parent | 2af916816fb5ca05a0e66762945344371d113c99 (diff) | |
download | emacs-5acc1a62c82a84561d64a593dad04550322226c3.tar.gz |
entered into RCS
Diffstat (limited to 'lwlib/lwlib-Xlw.c')
-rw-r--r-- | lwlib/lwlib-Xlw.c | 7 |
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. */ |