X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Flwlib-Xlw.c;h=71b4959063474216892884462425b97544cdb0f9;hb=6ea9e612056ffdae141f444c5901d782af8d78ce;hp=e4e91d6f5e290dc45c7cf6177e6c5df626beba40;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2;p=chise%2Fxemacs-chise.git.1 diff --git a/lwlib/lwlib-Xlw.c b/lwlib/lwlib-Xlw.c index e4e91d6..71b4959 100644 --- a/lwlib/lwlib-Xlw.c +++ b/lwlib/lwlib-Xlw.c @@ -536,9 +536,6 @@ xlw_update_one_widget (widget_instance* instance, Widget widget, 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_one_widget (widget_instance* instance, Widget widget, 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