ui/vnc: fix vmware VGA incompatiblities
commit2f487a3d40faff1772e14da6b921900915501f9a
authorPeter Lieven <pl@kamp.de>
Mon, 17 Mar 2014 17:38:58 +0000 (17 18:38 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 18 Mar 2014 07:21:24 +0000 (18 08:21 +0100)
treeba7f86464074760b41354e7acbf97a68f17e8213
parent315b59344126beab85a62b53582794b14436a5a4
ui/vnc: fix vmware VGA incompatiblities

this fixes invalid rectangle updates observed after commit 12b316d
with the vmware VGA driver. The issues occured because the server
and client surface update seems to be out of sync at some points
and the max width of the surface is not dividable by
VNC_DIRTY_BITS_PER_PIXEL (16).

Reported-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/vmware_vga.c
ui/vnc.c