summaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-04-27 16:39:52 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-01 09:44:10 -0500
commit24cf0a6e36402f3bbab1d7317de6c4d511c832e1 (patch)
tree0b87a5e6155aaf6515907e13538aa5228aad49ba /vnc.c
parent89ee676eadde78677addb74ef8f356757f6f6c0a (diff)
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>
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.c b/vnc.c
index a7a356b48..b5a186d31 100644
--- a/vnc.c
+++ b/vnc.c
@@ -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);