diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-05-30 13:10:29 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-07-22 10:18:36 +0400 |
commit | 1f1736a8f16d27a99abd371caaeedc10e6411d15 (patch) | |
tree | ad3f0ac5b9a886a5cd7bbc0ee4d8f201f0aa1b11 /ui/vnc.h | |
parent | a7ddb48bd1363c8bcdf42776d320289c42191f01 (diff) | |
download | qemu-1f1736a8f16d27a99abd371caaeedc10e6411d15.zip qemu-1f1736a8f16d27a99abd371caaeedc10e6411d15.tar.gz qemu-1f1736a8f16d27a99abd371caaeedc10e6411d15.tar.bz2 |
vnc: increase max display size
It's 2024. 4k display resolutions are a thing these days.
Raise width and height limits of the qemu vnc server.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1596
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240530111029.1726329-1-kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.h')
-rw-r--r-- | ui/vnc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -81,8 +81,8 @@ typedef void VncSendHextileTile(VncState *vs, /* VNC_MAX_WIDTH must be a multiple of VNC_DIRTY_PIXELS_PER_BIT. */ -#define VNC_MAX_WIDTH ROUND_UP(2560, VNC_DIRTY_PIXELS_PER_BIT) -#define VNC_MAX_HEIGHT 2048 +#define VNC_MAX_WIDTH ROUND_UP(5120, VNC_DIRTY_PIXELS_PER_BIT) +#define VNC_MAX_HEIGHT 2160 /* VNC_DIRTY_BITS is the number of bits in the dirty bitmap. */ #define VNC_DIRTY_BITS (VNC_MAX_WIDTH / VNC_DIRTY_PIXELS_PER_BIT) |