date DND

Matthias Clasen maclas at gmx.de
Tue Jul 22 15:52:48 EEST 2003


> Amazing how people manage to interpret such a simple spec still quite 
> differently :-}
> 
> I'm not really very deep into this stuff, but Qt does:
>         XChangeProperty ( QPaintDevice::x11AppDisplay(), req->requestor, 
> req->property,
>                           req->target, 8, PropModeReplace,
>                           (unsigned char *)a.data(), a.size() );
> 
> And a.data() essentially refers to ushort[4] so I don't think
> kcolorchooser 
> has a chance of working across endianness.
> 
> Does the 8 in the XChangeProperty call refer to your data.format above?
> Would 
> there be some sort of endian-conversion if it was 16? Where?

Yes, if you change that 8 to 16, the server will take care of endianness
conversion.

Matthias

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!




More information about the xdg mailing list