aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStephan Kulow <coolo@suse.de>2014-07-23 16:03:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-07-25 09:42:56 +0200
commit07535a890200e640517be0ae04fcff28860ecd37 (patch)
treea5e6bec09cdb88edcb73e5bff30f9e8c1056eb29 /ui
parentf368c33d5ab09dd5656924185cd975b11838cd25 (diff)
downloadqemu-07535a890200e640517be0ae04fcff28860ecd37.zip
qemu-07535a890200e640517be0ae04fcff28860ecd37.tar.gz
qemu-07535a890200e640517be0ae04fcff28860ecd37.tar.bz2
fix full frame updates for VNC clients
If the client asks for !incremental frame updates, it has lost its content so dirty doesn't matter - it has to see the full frame, so setting force_update Signed-off-by: Stephan Kulow <coolo@suse.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Lieven <pl@kamp.de>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index 548588a..06d6ca0 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -1878,6 +1878,7 @@ static void framebuffer_update_request(VncState *vs, int incremental,
return;
}
+ vs->force_update = 1;
vnc_set_area_dirty(vs->dirty, width, height, x, y, w, h);
}