Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!umich!umeecs!zip!bagchi From: bagchi@eecs.umich.edu (Ranjan Bagchi) Newsgroups: comp.windows.x Subject: Re: Moving window from one display to another - how to? Message-ID: Date: 3 Sep 90 00:11:57 GMT References: <1990Aug31.233112.3500@wrl.dec.com> Sender: news@zip.eecs.umich.edu Organization: University of Michigan Lines: 31 In-Reply-To: klee@wsl.dec.com's message of 31 Aug 90 23:31:12 GMT In article <1990Aug31.233112.3500@wrl.dec.com> klee@wsl.dec.com (Ken Lee) writes: In article , clindh@sunrise.abalon.se (Christer Lindh) writes: |> Is it possible in X to switch display for a client/window? |> Does the client |> need special code for this or can a window manager handle it? The client has to do this. The X protocol does not allow windows to be moved from one display to another or even from one screen to another of the same display. You could write a client that copied an image from one display to another, but, of course, only the original would be interactive. ============================== A kludgy way that I've been using is this: xgrabsc -W | xwud -display & This'll let you copy the screen section, and bring it up as a window on the other display. xgrabsc came across comp.sources.x a few weeks ago, if I remember correctly. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee -rj bagchi@eecs.umich.edu