How can I obtain the type of an object by its identifier ?
ajax at nwnk.net
Mon Feb 9 10:21:36 PST 2009
On Mon, 2009-02-09 at 16:24 +0500, Alexei Babich wrote:
> Hello all.
> How can I obtain the type of an object by its identifier (XID)? E.g.,
> window, picture, etc.
From the client side? You don't. You could infer it by doing a bunch
of GetWindowAttributes or similar and inspecting error codes, I suppose.
I'm curious why you need to do this though.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the xorg