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>
This commit is contained in:
Stephan Kulow 2014-07-23 16:03:14 +02:00 committed by Gerd Hoffmann
parent f368c33d5a
commit 07535a8902

View file

@ -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);
}