Accessing window buffers

gtg990h@mail.gatech.edu gtg990h@mail.gatech.edu
Mon, 23 Feb 2004 17:32:26 -0500


I've just got a quick question about how window buffers are handled in th=
e fd.o=20
X server. Say I use Composite to request that that a window gets redirect=
ed to=20
its own buffer. Then I use XRenderCreatePicture to get a RENDER Picture f=
or=20
that buffer. Now, if I then call XMoveResizeWindow on the window in quest=
ion,=20
is my Picture still valid? For a cursory look at the xcompmgr source code=
, the=20
answer would appear to be yes, but I'm not sure.=20
=20
Now, if the picture is still valid, I presume what is happening is that t=
he old=20
window buffer is being freed and a new one allocated. Is there any way fo=
r the=20
composite manager to get ahold of that window buffer before it is freed?=20
=20
Sincerely,=20
    Rayiner Hashem=20