]> git.ipfire.org Git - thirdparty/qemu.git/commit
BACKPORT: vnc: fix copyrect screen corruption
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Jul 2009 15:10:48 +0000 (17:10 +0200)
committerGlauber Costa <glommer@redhat.com>
Tue, 25 Aug 2009 20:12:14 +0000 (16:12 -0400)
commit74ccfe8b7e9c351b3196f68795126e76060903b3
tree6eecdb73db4767410e2969487a9768ba2f462cc3
parente24c7580cb79f547e0a9f838b2f3d5962eb6cfac
BACKPORT: vnc: fix copyrect screen corruption

When sending a copyrect command to the vnc client, we must also update
the local server surface.  Otherwise the server's and the client's idea
of the screen content run out of sync and screen updates don't work
correctly.

[ backport: uses ds_get_data() instead of direct dereference ]
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Glauber Costa <glommer@redhat.com>
vnc.c