Matching client windows by resource IDs

Thomas Lübking thomas.luebking at gmx.net
Fri Jun 5 06:43:53 PDT 2009


Hi,
are you looking for "man XGetTransientForHint" ?

Thomas

Am Friday 05 June 2009 schrieb Christian Pirchheim:
> Hi,
>
> Wonder if there are client-side functions which allow to retrieve resource
> mask and base XIDs (as defined in the _XDisplay struct) given only a
> particular resource (e.g. Window) XID. IOW: Are functions available, which
> have signatures similar to:
>
> void XGetResourceMaskAndBase(XID resource, XID *mask, XID *base);
>
> Rationale behind is that I require knowledge about the "child windows"
> (such as menu lists etc) of a given top-level "parent" window within a
> window manager client. Thus, I do *not* have the related clients' Display
> variables at hand.
>
> First, I would have expected XQueryTree giving me that information,
> however, it seems pretty much every window is created with the root window
> set as parent which makes any discrimination impossible.
>
> Thanks for any hints and comments!
>
> Regards,
>   Christian
>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090605/bb6ad518/attachment.html>


More information about the xorg mailing list