diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-03-11 18:29:55 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-15 17:37:50 +0100 |
commit | 55b400497cf9c79acbb5c01abc58737bc52c081c (patch) | |
tree | 756c926530dfacb3898f51ada0712bbd6ab1bd93 /MAINTAINERS | |
parent | adc8fce871afd30b4bf13cf5440a96a3ffb486db (diff) | |
download | qemu-55b400497cf9c79acbb5c01abc58737bc52c081c.zip qemu-55b400497cf9c79acbb5c01abc58737bc52c081c.tar.gz qemu-55b400497cf9c79acbb5c01abc58737bc52c081c.tar.bz2 |
ui: avoid sending framebuffer updates outside client desktop bounds
We plan framebuffer update rects based on the VNC server surface. If the
client doesn't support desktop resize, then the client bounds may differ
from the server surface bounds. VNC clients may become upset if we then
send an update message outside the bounds of the client desktop.
This takes the approach of clamping the rectangles from the worker
thread immediately before sending them. This may sometimes results in
sending a framebuffer update message with zero rectangles.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210311182957.486939-3-berrange@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions