XCURSOR_IMAGE_TYPE

Each cursor image occupies a separate image chunk. The length of the image header follows the chunk header so that future versions can extend the header without breaking older applications

Image: ChunkHeader header chunk header CARD32 width actual width CARD32 height actual height CARD32 xhot hot spot x CARD32 yhot hot spot y CARD32 delay animation delay LISTofCARD32 pixels ARGB pixels

Values

ValueMeaning
XCURSOR_IMAGE_TYPE0xfffd0002
XCURSOR_IMAGE_VERSION1
XCURSOR_IMAGE_HEADER_LENXCURSOR_CHUNK_HEADER_LEN + (5 * 4)
XCURSOR_IMAGE_MAX_SIZE0x7fff

32767x32767 max cursor size

Meta