Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] ARGH my_XawScrollbarSetThumb still broken
Home

Re: [Freeciv-Dev] ARGH my_XawScrollbarSetThumb still broken

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] ARGH my_XawScrollbarSetThumb still broken
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 30 Aug 1999 10:52:22 +0200

Jeff Mallatt <jjm@xxxxxxxxxxxx> writes:

> At 1999/08/26 12:15 , Falk Hueffner wrote:
> >once again I debugged freeciv for quite some time to find the bug is
> >in my_XawScrollbarSetThumb. Could PLEASE somebody apply this patch?
> >Obviously, the current implementation is completely bogus, and as long 
> >as we don't know what he was trying to work around, I guess we don't
> >have much chance to fix it.
> 
> Without looking deeply into it, I simply applied your patch -- and my
> scrollbars stopped working!
> 
> Your patch simply calls XawScrollbarSetThumb directly.  That should work,
> except when called from the jumpProc (it's documented to *not* work from
> there -- but it shouldn't be needed there).
> 
> I'll poke around some more, to see if I can find a cause...

Please do, I can't find any helpful Xaw documentation. Perhaps we keep 
the old code for systems where sizeof(float) == sizeof(XtArgVal)
(e. g. Intel) and use XawScrollbarSetThumb directly where
sizeof(float) < sizeof(XtArgVal) (e. g. Alpha)
(sizeof(float) > sizeof(XtArgVal) doesn't exist).

        Falk




[Prev in Thread] Current Thread [Next in Thread]