qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [COMMIT 0b87a5e] vnc: no need to set force_update for inc


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 0b87a5e] vnc: no need to set force_update for incremental update requests.
Date: Fri, 01 May 2009 15:05:17 -0000

From: Gerd Hoffmann <address@hidden>

Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/vnc.c b/vnc.c
index a7a356b..b5a186d 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);




reply via email to

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