mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[HVM][VNC] Fix bug in the VNC copyrect implementation which crept in
with the update backoff patch. Signed-off-by: Steven Smith <sos22@cam.ac.uk>
This commit is contained in:
1 parent
b3781b36c8
commit
bb53feb6ec
1 file changed
+3
@@ -401,6 +401,9 @@ static void vnc_copy(DisplayState *ds, int src_x, int src_y, int dst_x, int dst_
|
||||
(dst_y + h) > (vs->visible_y + vs->visible_h))
|
||||
updating_client = 0;
|
||||
|
||||
if (updating_client)
|
||||
_vnc_update_client(vs);
|
||||
|
||||
if (dst_y > src_y) {
|
||||
y = h - 1;
|
||||
pitch = -pitch;
|
||||
|
||||