XGetWindowProperty() AnyPropertyType and XA_CARDINAL?

Kai-Uwe Behrmann ku.b at gmx.de
Fri Jan 13 02:11:14 PST 2012

A atom is placed as a XA_CARDINAL type to the root window.

To get this atom XGetWindowProperty() is used.
AnyPropertyType fails and XA_CARDINAL succeeds in the req_type argument, 
which is the 7th one, to XGetWindowProperty(). Is there a reason for this?
The XGetWindowProperty manual says both should succeed.

kind regards

PS: I like to answer a related question https://bugzilla.mozilla.org/show_bug.cgi?id=709732#c5

More information about the xorg mailing list