[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Identify parent window of menus and tooltips
From:       Marty Jack <martyj19 () comcast ! net>
Date:       2011-09-29 16:40:56
Message-ID: 4E849F98.9000908 () comcast ! net
[Download RAW message or body]



On 09/29/2011 12:07 PM, Markus Kramer wrote:
> Is there a way to identify the parent window of a menu or tooltip?
> I know that menus and tooltips are top level windows. So their parent
> would be the root window. I'm wondering if there is some other
> property which tells me to what window they belong to?
> 
> cheers, Markus
> _______________________________________________
> xorg@lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: martyj19@comcast.net
> 

The WM_TRANSIENT_FOR property does this, but of course it is only as good as the \
toolkits who must be relied on to set it properly.  See the ICCCM. \
_______________________________________________ xorg@lists.freedesktop.org: X.Org \
                support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic