summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-11 10:33:08 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-11 10:33:08 +0000
commit722d2db098849aec1d11e9b1babde9706938abb5 (patch)
tree293400426cb421a3a9649d6948afa8855120652e /src/widget.c
parent5129a99bc51eec29a2a287175fe49b862e613693 (diff)
downloademacs-722d2db098849aec1d11e9b1babde9706938abb5.tar.gz
(EmacsFrameSetCharSize): Call XawPanedSetRefigureMode.
Call XtSetValues not XtVaSetValues.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c12
1 files changed, 11 insertions, 1 deletions
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