From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAENy-0007sB-CY for qemu-devel@nongnu.org; Thu, 24 Jul 2014 04:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAENt-0003bM-V8 for qemu-devel@nongnu.org; Thu, 24 Jul 2014 04:28:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAENt-0003b8-NT for qemu-devel@nongnu.org; Thu, 24 Jul 2014 04:28:17 -0400 From: Gerd Hoffmann Date: Thu, 24 Jul 2014 10:28:05 +0200 Message-Id: <1406190486-16026-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1406190486-16026-1-git-send-email-kraxel@redhat.com> References: <1406190486-16026-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL for-2.1 1/2] fix full frame updates for VNC clients List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stephan Kulow , Gerd Hoffmann , Anthony Liguori From: Stephan Kulow If the client asks for !incremental frame updates, it has lost its content so dirty doesn't matter - it has to see the full frame, so setting force_update Signed-off-by: Gerd Hoffmann Reviewed-by: Peter Lieven --- ui/vnc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/vnc.c b/ui/vnc.c index 548588a..06d6ca0 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -1878,6 +1878,7 @@ static void framebuffer_update_request(VncState *vs, int incremental, return; } + vs->force_update = 1; vnc_set_area_dirty(vs->dirty, width, height, x, y, w, h); } -- 1.8.3.1