cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
9ae3a8
From ce84fa12f9d9ae751da24638d4437abda26aaece Mon Sep 17 00:00:00 2001
9ae3a8
From: "Daniel P. Berrange" <berrange@redhat.com>
9ae3a8
Date: Thu, 8 Feb 2018 17:50:16 +0100
9ae3a8
Subject: [PATCH 02/27] fix full frame updates for VNC clients
9ae3a8
9ae3a8
RH-Author: Daniel P. Berrange <berrange@redhat.com>
9ae3a8
Message-id: <20180208175041.5634-3-berrange@redhat.com>
9ae3a8
Patchwork-id: 78933
9ae3a8
O-Subject: [RHEL-7.5 qemu-kvm PATCH v1 02/27] fix full frame updates for VNC clients
9ae3a8
Bugzilla: 1527405
9ae3a8
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9ae3a8
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
9ae3a8
From: Stephan Kulow <coolo@suse.de>
9ae3a8
9ae3a8
If the client asks for !incremental frame updates, it has lost its content
9ae3a8
so dirty doesn't matter - it has to see the full frame, so setting force_update
9ae3a8
9ae3a8
Signed-off-by: Stephan Kulow <coolo@suse.de>
9ae3a8
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
Reviewed-by: Peter Lieven <pl@kamp.de>
9ae3a8
(cherry picked from commit 07535a890200e640517be0ae04fcff28860ecd37)
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 ui/vnc.c | 1 +
9ae3a8
 1 file changed, 1 insertion(+)
9ae3a8
9ae3a8
diff --git a/ui/vnc.c b/ui/vnc.c
9ae3a8
index 29b216c..5226295 100644
9ae3a8
--- a/ui/vnc.c
9ae3a8
+++ b/ui/vnc.c
9ae3a8
@@ -1777,6 +1777,7 @@ static void framebuffer_update_request(VncState *vs, int incremental,
9ae3a8
         return;
9ae3a8
     }
9ae3a8
 
9ae3a8
+    vs->force_update = 1;
9ae3a8
     vnc_set_area_dirty(vs->dirty, width, height, x, y, w, h);
9ae3a8
 }
9ae3a8
 
9ae3a8
-- 
9ae3a8
1.8.3.1
9ae3a8