Sync up with r21-2-39.
[chise/xemacs-chise.git-] / lwlib / lwlib-Xlw.c
index 8063c7c..bfb2dfa 100644 (file)
@@ -549,7 +549,7 @@ xlw_update_one_widget (widget_instance* instance, Widget widget,
       else
        mw = (XlwMenuWidget)widget;
       XtSetArg (al [0], XtNmenu, val);
-      XtSetValues (widget, al, 1);
+      XtSetValues (widget, al, 1); /* #### mw unused! */
     }
 #endif
 #ifdef LWLIB_SCROLLBARS_LUCID
@@ -564,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