# HG changeset patch # User Paul Reilly # Date 781103597 0 # Node ID 786a658d3687a7918974be0ea7151c17e6645a02 # Parent 097322f7b8ad402b551ace5745aa272fc8c294cb (EmacsFrameSetCharSize): Use lw_refigure_widget() for widget set independence. diff -r 097322f7b8ad -r 786a658d3687 src/widget.c --- a/src/widget.c Sun Oct 02 12:37:21 1994 +0000 +++ b/src/widget.c Sun Oct 02 13:13:17 1994 +0000 @@ -36,6 +36,7 @@ #include #include #include +#include "../lwlib/lwlib.h" #define max(a, b) ((a) > (b) ? (a) : (b)) @@ -901,8 +902,7 @@ int old_left = f->display.x->widget->core.x; int old_top = f->display.x->widget->core.y; - XawPanedSetRefigureMode (f->display.x->column_widget, False); - + lw_refigure_widget (f->display.x->column_widget, False); ac = 0; XtSetArg (al[ac], XtNheight, pixel_height); ac++; XtSetArg (al[ac], XtNwidth, pixel_width); ac++; @@ -912,8 +912,7 @@ XtSetArg (al[ac], XtNheight, column_widget_height + hdelta); ac++; XtSetArg (al[ac], XtNwidth, pixel_width); ac++; XtSetValues (f->display.x->column_widget, al, ac); - - XawPanedSetRefigureMode (f->display.x->column_widget, True); + lw_refigure_widget (f->display.x->column_widget, True); /* These seem to get clobbered. I don't know why. - rms. */ f->display.x->widget->core.x = old_left;