From e5c001e3a2b9d8984301e10e3b7c02227ae325da Mon Sep 17 00:00:00 2001 From: Fred Pierresteguy Date: Fri, 11 Mar 1994 10:33:08 +0000 Subject: [PATCH] (EmacsFrameSetCharSize): Call XawPanedSetRefigureMode. Call XtSetValues not XtVaSetValues. --- src/widget.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/widget.c b/src/widget.c index a24db0e306c..eb593f15b7d 100644 --- a/src/widget.c +++ b/src/widget.c @@ -899,15 +899,25 @@ result = XtMakeResizeRequest ((Widget)ew, { 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 -- 2.39.5