Index: lwlib/lwlib-Xaw.c =================================================================== RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v retrieving revision 1.9.2.9 diff -u -r1.9.2.9 lwlib-Xaw.c --- lwlib/lwlib-Xaw.c 2000/02/21 21:53:18 1.9.2.9 +++ lwlib/lwlib-Xaw.c 2000/02/22 21:53:54 @@ -126,9 +126,6 @@ xaw_update_one_widget (widget_instance *instance, Widget widget, widget_value *val, Boolean deep_p) { - if (val->args && val->args->nargs) - XtSetValues (widget, val->args->args, val->args->nargs); - if (0) ; #ifdef LWLIB_SCROLLBARS_ATHENA @@ -193,6 +190,9 @@ #endif /* LWLIB_WIDGETS_ATHENA */ } #endif /* LWLIB_DIALOGS_ATHENA */ + /* Lastly update our global arg values. */ + if (val->args && val->args->nargs) + XtSetValues (widget, val->args->args, val->args->nargs); } void Index: lwlib/lwlib-Xlw.c =================================================================== RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xlw.c,v retrieving revision 1.7.2.6 diff -u -r1.7.2.6 lwlib-Xlw.c --- lwlib/lwlib-Xlw.c 2000/01/15 13:40:47 1.7.2.6 +++ lwlib/lwlib-Xlw.c 2000/02/22 21:53:55 @@ -536,9 +536,6 @@ widget_value* val, Boolean deep_p) { WidgetClass class = XtClass (widget); - /* Update up global arg values. */ - if (val->args && val->args->nargs) - XtSetValues (widget, val->args->args, val->args->nargs); if (0) ; @@ -567,6 +564,9 @@ xlw_update_tab_control (instance, widget, val); } #endif + /* Lastly update our global arg values. */ + if (val->args && val->args->nargs) + XtSetValues (widget, val->args->args, val->args->nargs); } void Index: lwlib/lwlib-Xm.c =================================================================== RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xm.c,v retrieving revision 1.11.2.14 diff -u -r1.11.2.14 lwlib-Xm.c --- lwlib/lwlib-Xm.c 2000/02/21 21:53:18 1.11.2.14 +++ lwlib/lwlib-Xm.c 2000/02/22 21:54:03 @@ -791,8 +791,6 @@ /* Common to all widget types */ XtSetArg (al [ac], XmNsensitive, val->enabled); ac++; XtSetArg (al [ac], XmNuserData, val->call_data); ac++; - lw_add_value_args_to_args (val, al, &ac); - XtSetValues (widget, al, ac); #if defined (LWLIB_DIALOGS_MOTIF) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_WIDGETS_MOTIF) @@ -856,6 +854,9 @@ xm_update_scrollbar (instance, widget, val); } #endif + /* Lastly update our global arg values. */ + if (val->args && val->args->nargs) + XtSetValues (widget, val->args->args, val->args->nargs); } /* getting the value back */ Index: src/glyphs-x.c =================================================================== RCS file: /usr/CVSroot/XEmacs/xemacs/src/glyphs-x.c,v retrieving revision 1.49.2.57 diff -u -r1.49.2.57 glyphs-x.c --- src/glyphs-x.c 2000/02/21 21:53:28 1.49.2.57 +++ src/glyphs-x.c 2000/02/22 21:54:21 @@ -2494,7 +2494,7 @@ IMAGE_INSTANCE_SUBWINDOW_ID (ii) = (void*)wid; IMAGE_INSTANCE_X_WIDGET_LWID (ii) = id; - +#if 0 /* Resize the widget here so that the values do not get copied by lwlib. */ ac = 0; @@ -2503,6 +2503,7 @@ XtSetArg (al [ac], XtNheight, (Dimension)IMAGE_INSTANCE_SUBWINDOW_HEIGHT (ii)); ac++; XtSetValues (IMAGE_INSTANCE_X_WIDGET_ID (ii), al, ac); +#endif /* because the EmacsManager is the widgets parent we have to offset the redisplay of the widget by the amount the text widget is inside the manager. */