From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxa8T-0005Qi-Up for qemu-devel@nongnu.org; Thu, 19 Jun 2014 07:04:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxa8L-0000sW-75 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 07:04:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxa8K-0000sG-VC for qemu-devel@nongnu.org; Thu, 19 Jun 2014 07:03:57 -0400 From: Gerd Hoffmann Date: Thu, 19 Jun 2014 13:03:49 +0200 Message-Id: <1403175829-24595-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1403175829-24595-1-git-send-email-kraxel@redhat.com> References: <1403175829-24595-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 3/3] vnc: fix screen updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380. vnc_jobs_join call is missing in one code path. Reported-by: Anthony PERARD Signed-off-by: Gerd Hoffmann --- ui/vnc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/vnc.c b/ui/vnc.c index 6c9d4f3..aac93f0 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -935,6 +935,9 @@ static int vnc_update_client(VncState *vs, int has_dirty, bool sync) } vnc_job_push(job); + if (sync) { + vnc_jobs_join(vs); + } vs->force_update = 0; return n; } -- 1.8.3.1