override-redirect issues in Xquartz

Jeremy Huddleston jeremyhu at freedesktop.org
Fri Oct 17 16:41:10 PDT 2008


On Oct 17, 2008, at 07:57, Adam Jackson wrote:
> Yeah, menus are typically children of the root, because if they were
> children of the toplevel they'd be clipped to within the toplevel.
> Lame, eh?
>
> You can probably get most of the way towards the right behaviour by
> treating o-r windows as logical children of the most-recently-active
> toplevel window of the app with the same XID allocation (if one  
> exists).
> Menus generally don't appear over windows other than the one you're
> interacting with, nor do they tend to get created by one client on
> behalf of another.
>
> In an MPX world you'd need to track "most-recently-active" per focus
> group, but MPX under OSX is probably a fair way off.
>
> I can't really think of a good way to always get this right without
> changing applications though, or at least toolkits.  No reason we  
> can't
> set TRANSIENT_FOR even for o-r windows I think...

Yeah... this is pretty much what I was expecting /  what I was affraid  
of.  We're going to need to do something kinda ungly and kludgey. Oh  
well. =/

--Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081017/bb2e26fa/attachment.bin>


More information about the xorg mailing list