Path: utzoo!attcan!uunet!husc6!ukma!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rfrench
From: rfrench@athena.mit.edu (Robert S. French)
Newsgroups: comp.windows.x
Subject: Re: XGetImage from an unmapped Window - how to?
Message-ID: <5895@bloom-beacon.MIT.EDU>
Date: 24 Jun 88 19:52:15 GMT
References: <154@cyclopes.UUCP>
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: rfrench@athena.mit.edu (Robert S. French)
Organization: Massachusetts Institute of Technology
Lines: 13

In article <154@cyclopes.UUCP> stergios@cyclopes.UUCP (Stergios Marinopoulos) writes:
>Is there a way to  XGetImage from an  unmapped window?  The  man  page
>states "If the drawable is a window, the window must be mapped, ...."
>
>My motivation  is this: create an unmapped  window, render stuff  into
>it, store that image, delete the window, and flash the image back some
>time later through the use of XPutImage.

Since a Pixmap is also a Drawable, doesn't it seem easier to create a
Pixmap and render into _it_ directly, thus bypassing the
Window/XGetImage route?

			Rob