How to move a window between screens?
Gerald Dachs
gda at gmx.de
Fri Jan 9 15:41:23 PST 2009
Am Fri, 9 Jan 2009 15:33:15 +0000
schrieb Glynn Clements <glynn at gclements.plus.com>:
>
> Gerald Dachs wrote:
>
> > How to move an application window between 2 independent (no
> > Twinview, no Xinerama)
> > screens of a x servern from outside of the application?
> > Do I have to use something like xmove? It looks so over sized,
> > because it is mainly for movement between different x servers on
> > different machines.
> >
> > I suspect that it won't be so simple that I can XUnmapWindow the
> > window, change the screen somehow and XMapWindow the window again.
>
> You can't move a window between screens. For a start, many server-side
> entitites (e.g. pixmaps) are tied to a particular screen, so the
> client won't be able to use existing pixmaps (etc) if the window was
> to suddenly move to a different screen.
>
> Also, the new screen may have a different depth, visual etc, and the
> client isn't expecting these properties to suddenly change.
>
> You either start the client on a proxy X server with "mobile" output
> (e.g. Xvnc), or this sort of thing has to be done in the client.
Too sad that it will not work, I don't believe that a proxy like
Xvnc or xmove will be fast enough for xbmc showing movies, thanks anyway
for your fast answer.
Gerald
More information about the xorg
mailing list