Robert Melby wrote:
if i understand correctly, hack seems like too strong
a word. the
embedder reparents the out-of-process window and sets the
SubstructureRedirectMask so it can intercept events etc. it's fairly
simple (even with all the bells and whistles they use in their spec),
and in general it isn't an abuse of the X architecture. see also 'man
XReparentWindow' and for example 'man XConfigureEvent' to see how the
substructure redirect is handled.
the only thing that really needs to be agreed upon after that is how
to get the window id of the window to be swallowed.
I was just trying this out (on Solaris ...) when this message came in.
It works, and it's simple (if you have the habit of working with X
directly).
--
Fons Adriaensen
ALCATEL SPACE