vnc: fix screen updates
PATCH 1/1 vnc: fix screen updates
Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380. vnc_jobs_join call is missing in one code path.
Reported-by Anthony PERARD <[email protected]>
Signed-off-by Gerd Hoffmann <[email protected]>
--- ui/vnc.c | 3 +++ 1 file changed, 3 insertions(+)
ui/vnc.c +3 -0
@@ -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; }
Signature · 1 line
1.8.3.1
Quoted 5 lines · Gerd Hoffmann
Bug was added by
38ee14f4f33f8836fc0e209ca59c6ae8c6edf380.vnc_jobs_joincall is missing in one code path.Reported-by Anthony PERARD <[email protected]>Signed-off-by Gerd Hoffmann <[email protected]>
I've tested the patch, it works.
Thanks!
Quoted 18 lines
--- ui/vnc.c | 3 +++ 1 file changed, 3 insertions(+)ui/vnc.c +3
-0@@ -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; }
Signature · 1 line
Anthony PERARD