From: Gerd Hoffmann Date: Fri, 13 Jun 2014 08:23:10 +0000 (+0200) Subject: vnc: fix screen updates X-Git-Tag: v2.1.0-rc0~43^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb214ff8ef6cceec348f3ad1643b39443fe07910;p=thirdparty%2Fqemu.git vnc: fix screen updates Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380. vnc_jobs_join call is missing in one code path. Reported-by: Anthony PERARD Signed-off-by: Gerd Hoffmann --- diff --git a/ui/vnc.c b/ui/vnc.c index 6c9d4f34923..aac93f0e17f 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; }