Thanks, that's exactly what I've been looking for.

Unfortunately, for GTK, it only seems to be set for menus and not for
tooltips. Weird, considering that GTK has been around for such a long
time.

2011/9/29 Marty Jack <[email protected]>:
>
>
> 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
>> _______________________________________________
>> [email protected]: X.Org support
>> Archives: http://lists.freedesktop.org/archives/xorg
>> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
>> Your subscription address: [email protected]
>>
>
> 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.
>
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to