how to tell a window is completely redrawn?

Irek Szczesniak <[email protected]> Tue, 8 Mar 2005 12:05:23 -0700 (MST)
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Hello,

I need to wait for a window to be completely redrawn, and then take a
picture of it with XGetImage.  This window is not mine, and the only
thing I know about it is its ID.

How can I tell that the X server has compeletly redrawn the window?

I would appreciate your time and advice.


Thank you,
Irek