Vladimir Dergachev <[EMAIL PROTECTED]> writes:

> > > I'm curious whether the functionality of xmove and
> > > similar programs -- redirecting an X client to another
> > > display -- can be reproduced without having something
> > > like the xmove pseudoserver that intercepts the
> > > state-creating operations.
> > >
> > > Is it possible instead to recover the state just before
> > > redirection by querying the server and perhaps
> > > rummaging through Xlib's data in the client?
> > >
> > > I picked a simple example, pixmaps, and could not find
> > > a way to do this, but I'd love to hear otherwise.
> >
> > It really requires toolkit cooperation (and to a lesser
> > extent app cooperation) ... we have it working currently in
> > the development branch of GTK+.
> >
> > Without that, it's not even theoretically possible, because
> > you don't know where the toolkit might/app have stored the
> > ID referring to a window on the original display.
> 
> What about having per-connection Window ID translation table ?
> This could be done entirely in Xlib..

Well, at the 90% level you could probably do something in this
fashion; but remember that XIDs can be stuck inside client
messages or properties, so X can't tell reliably what is
an XID and what is not.

Regards,
                                        Owen
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to