aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-06-13 10:25:23 +0200
committerPeter Maydell <peter.maydell@linaro.org>2014-06-23 10:41:10 +0100
commit2855df61f5a709d61d4cb9c96ee6a533391dad91 (patch)
treeb05958dd8a17d79d8340f643a004999657522663 /ui/vnc.c
parent1861e65b8d4370ef52552de95e96998be57c7d1f (diff)
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> Message-id: 1402647923-12300-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'ui/vnc.c')
-rw-r--r--ui/vnc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index 2d7def9aa2..5da175f986 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -934,6 +934,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;
}