]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vnc update fix
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Jul 2014 09:52:02 +0000 (11:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Jul 2014 07:43:31 +0000 (09:43 +0200)
commit6365828003c8e88bff67d351af4b66c406568a26
tree98be2406d6958236512816ced9d07c23f8e4646b
parent07535a890200e640517be0ae04fcff28860ecd37
vnc update fix

We need to remember has_updates for each vnc client.  Otherwise it might
happen that vnc_update_client(has_dirty=1) takes the first exit due to
output buffers not being flushed yet and subsequent calls with
has_dirty=0 take the second exit, wrongly assuming there is nothing to
do because the work defered in the first call is ignored.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
ui/vnc.c
ui/vnc.h