Path: utzoo!attcan!uunet!mcvax!inria!gouldfr!cetia!rob From: rob@cetia.UUCP (Rob Gordon) Newsgroups: comp.windows.x Subject: XtGetValues() and the scrollbar widget Message-ID: <882@cetia.UUCP> Date: 16 May 89 10:18:01 GMT Organization: Cetia, Toulon, France Lines: 29 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 -- Rob Gordon rob@inset.co.uk ...!mcvax!ukc!inset!rob