]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
fix full frame updates for VNC clients
authorStephan Kulow <coolo@suse.de>
Wed, 23 Jul 2014 14:03:14 +0000 (16:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Jul 2014 07:42:56 +0000 (09:42 +0200)
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>
ui/vnc.c

index 548588aab89ee2c71a5033ad657aa4dce6ed46ad..06d6ca009ec82a3e1c5b28da5d52c47c1c28762c 100644 (file)
--- 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);
 }