>       If anyone is familiar with the XChangeProperty() call 
> wrt "fl_XaUtf8String"
>       please take a quick look at STR #2419 and weigh in if 
> you see a solution.
>       Appears to be a 64 bit specific problem:
> 
> http://www.fltk.org/str.php?L2419

I got bitten by a similar sounding bug elsewhere in the X11 API. 

I can't now find the relevant posts, but IIRC, the key to it was the bit
where the docs say that the format argument must be one of 8, 16, or 32
- this, it seems, is considered to be binding, so if the size is > 32,
then it is fixed at 32.

I don't think I followed (or necessarily agreed with) the argument the
X11 guys were making for this, but it seems it essentially comes down to
being backwards compatible (I think.)

I have not been able to find that written down anywhere, either, but
that appears to be the Way It Works now...

So, on that basis, Albrecht's fix is good, I think, though anyone
looking at that later will probably be going WTF?! When they see it...

-- 
Ian




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to