Alexey I. Froloff wrote: > On Tue, Sep 15, 2009 at 10:54:32AM +0200, Vladimir Nadvornik wrote: >> "If the specified format is 32, the property data must be a _long_ array." >> It is strange, but it really works this way. > Will this still work if I run 64-bit application on a 32-bit > XServer or vice versa? ssh -Y or XDMCP.
If I understood correctly, it will work also on 32-bit because XChangeProperty() will be receiving the expected array of _longs_, because as Vladimir pointerd out we are specifying the format to be 32 in the 5th parameter of the call. So 'data' must be of type 'long' no matter the architecture, really. It happens to work so far in 32-bit mode because sizeof(int) = sizeof(long), which is not true in 64-bit anymore, as you alluded to before. So I guess that the clouds blocking the understanding of this patch are now dissipated, and it should be applied after all. Thanks everyone! -- To unsubscribe, send mail to [email protected].
