On Thu, Dec 3, 2020 at 3:15 PM Gerd Hoffmann <kraxel@redhat.com> wrote:
> Add #defines for two new pseudo encodings:
> * cursor with alpha channel.
> * extended desktop resize.
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>
It might be worth documenting somewhere where those values come from.
My understanding is that the official document is
https://tools.ietf.org/html/rfc6143, and the community maintained version
is https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
> ui/vnc.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/ui/vnc.h b/ui/vnc.h
> index a7fd38a82075..6f5006da3593 100644
> --- a/ui/vnc.h
> +++ b/ui/vnc.h
> @@ -411,6 +411,8 @@ enum {
> #define VNC_ENCODING_AUDIO 0XFFFFFEFD /* -259 */
> #define VNC_ENCODING_TIGHT_PNG 0xFFFFFEFC /* -260 */
> #define VNC_ENCODING_LED_STATE 0XFFFFFEFB /* -261 */
> +#define VNC_ENCODING_DESKTOP_RESIZE_EXT 0XFFFFFECC /* -308 */
> +#define VNC_ENCODING_ALPHA_CURSOR 0XFFFFFEC6 /* -314 */
> #define VNC_ENCODING_WMVi 0x574D5669
>
>
> /*****************************************************************************
> --
> 2.27.0
>
>
>
--
Marc-André Lureau