]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
vnc: fix screen updates
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jun 2014 08:23:10 +0000 (10:23 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Jun 2014 10:48:07 +0000 (12:48 +0200)
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>
ui/vnc.c

index 6c9d4f34923a59d8d33d14475fa882efa9f6c0ce..aac93f0e17f6e1ae0fd7549fede20b6bf84d7cfb 100644 (file)
--- 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;
     }