Commit 24cf0a6e36402f3bbab1d7317de6c4d511c832e1
Committed by
Anthony Liguori
1 parent
89ee676e
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>
Showing
1 changed file
with
1 additions
and
1 deletions
vnc.c
... | ... | @@ -1422,8 +1422,8 @@ static void framebuffer_update_request(VncState *vs, int incremental, |
1422 | 1422 | |
1423 | 1423 | int i; |
1424 | 1424 | vs->need_update = 1; |
1425 | - vs->force_update = 1; | |
1426 | 1425 | if (!incremental) { |
1426 | + vs->force_update = 1; | |
1427 | 1427 | for (i = 0; i < h; i++) { |
1428 | 1428 | vnc_set_bits(vs->guest.dirty[y_position + i], |
1429 | 1429 | (ds_get_width(vs->ds) / 16), VNC_DIRTY_WORDS); | ... | ... |