From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyS04-0001nR-TW for qemu-devel@nongnu.org; Mon, 27 Apr 2009 10:40:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyRzz-0001kI-AA for qemu-devel@nongnu.org; Mon, 27 Apr 2009 10:40:03 -0400 Received: from [199.232.76.173] (port=48306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyRzy-0001ju-Iy for qemu-devel@nongnu.org; Mon, 27 Apr 2009 10:39:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:60871) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LyRzy-00068M-1F for qemu-devel@nongnu.org; Mon, 27 Apr 2009 10:39:58 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3REdvNG021597 for ; Mon, 27 Apr 2009 10:39:57 -0400 From: Gerd Hoffmann Date: Mon, 27 Apr 2009 16:39:52 +0200 Message-Id: <1240843193-15967-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1240843193-15967-1-git-send-email-kraxel@redhat.com> References: <1240843193-15967-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/3] vnc: no need to set force_update for incremental update requests. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- 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