Identify parent window of menus and tooltips

Markus Kramer tomatonius at
Thu Sep 29 09:07:54 PDT 2011

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

More information about the xorg mailing list