On Fri, Jan 31, 2003 at 10:28:44 +0100, Fons Adriaensen wrote:
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).
OK, so how much work is needed to make a generic library or similar that
can handle this for client windows? I'm assuming the 'rack' would launch
the apps, so it can take care of communicating its ID to the clients.
- Steve