diff options
| author | Gerd Hoffmann | 2014-07-23 11:52:02 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2014-07-25 09:43:31 +0200 |
| commit | 6365828003c8e88bff67d351af4b66c406568a26 (patch) | |
| tree | 98be2406d6958236512816ced9d07c23f8e4646b /ui/vnc.h | |
| parent | fix full frame updates for VNC clients (diff) | |
| download | qemu-6365828003c8e88bff67d351af4b66c406568a26.tar.gz qemu-6365828003c8e88bff67d351af4b66c406568a26.tar.xz qemu-6365828003c8e88bff67d351af4b66c406568a26.zip | |
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>
Diffstat (limited to 'ui/vnc.h')
| -rw-r--r-- | ui/vnc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -263,6 +263,7 @@ struct VncState VncDisplay *vd; int need_update; int force_update; + int has_dirty; uint32_t features; int absolute; int last_x; |
