how to tell a window is completely redrawn?

Irek Szczesniak ijs at txcorp.com
Tue Mar 22 11:47:02 PST 2005


On Sat, 12 Mar 2005, Roland Mainz wrote:

> You can use the Multibuffer extension and listen to the events after
> you have swapped the buffers. The idea is that you draw into the
> backbuffer and then call |XmbufDisplayBuffers()| to swap this buffer
> into the foreground. If this buffer swapping has been completed a
> |XmbufUpdateNotifyEvent| even will be send to notify the application
> that the buffer swapping is complete and therefore all the drawings
> are visible in the window (=this method is bullet-proof :)

It sounds good, provided every applicatin uses backbuffers.  But an
application doesn't have to use the backbuffers.  Instead, it can draw
directly to a window or a pixmap and then copy it to a window, right?


Irek



More information about the xorg mailing list