XGetWindowProperty() AnyPropertyType and XA_CARDINAL?
Kai-Uwe Behrmann
ku.b at gmx.de
Sat Jan 14 04:00:48 PST 2012
Am 13.01.12, 11:11 +0100 schrieb Kai-Uwe Behrmann:
> 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.
FYI
A small overseen change along specifiying XA_CARDINAL brought the
difference. So AnyPropertyType and XA_CARDINAL both succeed.
XGetWindowProperty() behaves as expected and documented in the man page.
kind regards
Kai-Uwe Behrmann
--
developing for colour management
www.behrmann.name + www.oyranos.org
More information about the xorg
mailing list