X Damage extension
The Damage extension allows a client to be notified whenever something is drawn to a window. This feature is useful for VNC servers, for screen magnifiers, and for clients using the Composite extension to update the screen.
http://xorg.freedesktop.org/archive/X11R6.8.0/doc/RELNOTES2.html