vnc: fix copyrect screen corruption
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Jul 2009 15:10:48 +0000 (17:10 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 30 Jul 2009 14:50:37 +0000 (09:50 -0500)
commit3e28c9adf4bfe2f4792557ee45684181bd6e6d1c
treed344336a6d3693363f47c5c772158f3ed222a3ff
parent85c2c7359bf6fe55b610b2eadc3f79dd5b7edbd1
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.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vnc.c