aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-06-13 10:23:10 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-06-19 12:48:07 +0200
commiteb214ff8ef6cceec348f3ad1643b39443fe07910 (patch)
treea2c113e83b519cc3f96ee16a0429b2cf343f9e5b /ui
parentc14e98479bd3cb3667e283e815c238135db2edc1 (diff)
downloadqemu-eb214ff8ef6cceec348f3ad1643b39443fe07910.zip
qemu-eb214ff8ef6cceec348f3ad1643b39443fe07910.tar.gz
qemu-eb214ff8ef6cceec348f3ad1643b39443fe07910.tar.bz2
vnc: fix screen updates
Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380. vnc_jobs_join call is missing in one code path. Reported-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc.c3
1 files changed, 3 insertions, 0 deletions
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;
}