Path: utzoo!attcan!uunet!husc6!bloom-beacon!cetia.UUCP!rob From: rob@cetia.UUCP Newsgroups: comp.windows.x Subject: XtGetValues() and the scrollbar widget Message-ID: <8905160945.AA18879@inria.inria.fr> Date: 16 May 89 09:45:44 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 I know this has come up before but this may be new information. Anyway, on our system which is M68K based, when using the scrollbar widget, top always comes back from XtGetValues with a zero value. However, if i, temporarily, remove the following lines of code from XtGetValues() in lib/Xt/Resource.c /* Get constraint values if necessary */ if (w->core.constraints != NULL) { ConstraintWidgetClass cwc; cwc = (ConstraintWidgetClass) XtClass(w->core.parent); GetValues(w->core.constraints, (XrmResourceList *)(cwc->constraint_class.resources), cwc->constraint_class.num_resources, args, num_args); } then the value returned in top is as expected. Why should this be? (and is it relevant?) rob