qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/3] vnc: no need to set force_update for incrementa


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 2/3] vnc: no need to set force_update for incremental update requests.
Date: Mon, 27 Apr 2009 16:39:52 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 vnc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vnc.c b/vnc.c
index 8b381c9..3a25e1d 100644
--- a/vnc.c
+++ b/vnc.c
@@ -1412,8 +1412,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);
-- 
1.6.2.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]