Invalidate VNC framebuffer on every resize.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 25 May 2008 00:14:34 +0000 (00:14 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 25 May 2008 00:14:34 +0000 (00:14 +0000)
commit8bba5c81b1febeb20cdd60f1c18eb0e695cad6d6
tree058b3d5c276f6192e2d81689be49c303b72e57c5
parent788228c0d3ef975a995db7d97339b94ae41030e8
Invalidate VNC framebuffer on every resize.

On a resize, vncviewer keeps the image in the upper-left part of the screen
unmodified and fills the right end of the lines with black colour.  vnc.c       keeps the first n bytes of the framebuffer unmodified instead - meaning that
the client's image doesn't match the image in framebuffer and checking
for dirty rows gives wrong results.  We can either invalidate the whole
buffer or implement the same transformation as the client.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4569 c046a42c-6fe2-441c-8c8c-71466251a162
vnc.c