From: Stephan Kulow Date: Wed, 23 Jul 2014 14:03:14 +0000 (+0200) Subject: fix full frame updates for VNC clients X-Git-Tag: v2.1.0-rc4~8^2~1 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lisovros/qemu_apohw.git/commitdiff_plain/07535a890200e640517be0ae04fcff28860ecd37 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 Signed-off-by: Gerd Hoffmann Reviewed-by: Peter Lieven --- diff --git a/ui/vnc.c b/ui/vnc.c index 548588aab..06d6ca009 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); }