thebeanogamer / rpms / qemu-kvm

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