[MPlayer-dev-eng] [PATCH] x11_common: XChangeProperty uses long for 32-bits

Ingo Brückl ib at wupperonline.de
Fri Aug 19 15:29:49 CEST 2011


Nicolas George wrote on Fri, 19 Aug 2011 10:20:40 +0200:

> And it also says:

>     If the specified format is 8, the property data must be a char array.
>     If the specified format is 16, the property data must be a short array.
>     If the specified format is 32, the property data must be a long array.

> And the sources confirm it:

> http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/ChProp.c#n78
> http://cgit.freedesktop.org/xorg/lib/libX11/tree/src/XlibInt.c#n1738

Thanks a lot. I knew I could learn something.

Ingo


More information about the MPlayer-dev-eng mailing list