Mercurial > emacs
diff src/widget.c @ 6304:e6b7a921ccab
(EmacsFrameSetCharSize): Call XawPanedSetRefigureMode.
Call XtSetValues not XtVaSetValues.
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
---|---|
date | Fri, 11 Mar 1994 10:33:08 +0000 |
parents | 044dcf8b9066 |
children | 888f7465fd94 |
line wrap: on
line diff
--- a/src/widget.c Fri Mar 11 10:15:21 1994 +0000 +++ b/src/widget.c Fri Mar 11 10:33:08 1994 +0000 @@ -899,15 +899,25 @@ { int hdelta = pixel_height - ew->core.height; int column_widget_height = f->display.x->column_widget->core.height; + Arg al[2]; + int ac = 0; + + XawPanedSetRefigureMode (f->display.x->column_widget, False); + + XtSetArg (al[ac], XtNheight, pixel_height); ac++; + XtSetArg (al[ac], XtNwidth, pixel_width); ac++; + XtSetValues ((Widget) ew, al, ac); +#if 0 XtVaSetValues ((Widget) ew, XtNheight, pixel_height, XtNwidth, pixel_width, 0); - +#endif XtVaSetValues (f->display.x->column_widget, XtNwidth, pixel_width, XtNheight, column_widget_height + hdelta, 0); + XawPanedSetRefigureMode (f->display.x->column_widget, True); } /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to