vnc: no need to set force_update for incremental update requests.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Gerd Hoffmann 2009-04-27 16:39:52 +02:00 committed by Anthony Liguori
parent 89ee676ead
commit 24cf0a6e36
1 changed files with 1 additions and 1 deletions

2
vnc.c
View File

@ -1422,8 +1422,8 @@ static void framebuffer_update_request(VncState *vs, int incremental,
int i;
vs->need_update = 1;
vs->force_update = 1;
if (!incremental) {
vs->force_update = 1;
for (i = 0; i < h; i++) {
vnc_set_bits(vs->guest.dirty[y_position + i],
(ds_get_width(vs->ds) / 16), VNC_DIRTY_WORDS);