summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann2020-12-08 12:57:33 +0100
committerGerd Hoffmann2020-12-11 08:06:40 +0100
commita7d83e43597964047e1d2f326c249082e7d9b99f (patch)
treea6c63546163efecbe169aff2f06b23a011406bf6
parentvnc: drop unused copyrect feature (diff)
downloadqemu-a7d83e43597964047e1d2f326c249082e7d9b99f.tar.gz
qemu-a7d83e43597964047e1d2f326c249082e7d9b99f.tar.xz
qemu-a7d83e43597964047e1d2f326c249082e7d9b99f.zip
vnc: add pseudo encodings
Add #defines for two new pseudo encodings: * cursor with alpha channel. * extended desktop resize. https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#pseudo-encodings Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-id: 20201208115737.18581-6-kraxel@redhat.com
-rw-r--r--ui/vnc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/vnc.h b/ui/vnc.h
index a7fd38a820..6f5006da35 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
/*****************************************************************************