summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrunge <runge>2006-12-16 15:06:31 +0000
committerrunge <runge>2006-12-16 15:06:31 +0000
commitafc931f15dbd81cb257a10b3e1eb0b14240a0e6b (patch)
treeafb92d4e2f58bd7667d600dff80b8a19bc3b8ef6
parent11a5ea9ff926f58f5f903ce7be26afeb0b7d915d (diff)
downloadlibtdevnc-afc931f15dbd81cb257a10b3e1eb0b14240a0e6b.tar.gz
libtdevnc-afc931f15dbd81cb257a10b3e1eb0b14240a0e6b.zip
Move our rfbEncodings numbers out of the TightVNC range.
-rw-r--r--rfb/rfbproto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index faab766..4c49921 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -443,10 +443,6 @@ typedef struct {
#define rfbEncodingLastRect 0xFFFFFF20
#define rfbEncodingNewFBSize 0xFFFFFF21
-#define rfbEncodingKeyboardLedState 0xFFFFFF22
-#define rfbEncodingSupportedMessages 0xFFFFFF23
-#define rfbEncodingSupportedEncodings 0xFFFFFF24
-#define rfbEncodingServerIdentity 0xFFFFFF25
#define rfbEncodingQualityLevel0 0xFFFFFFE0
#define rfbEncodingQualityLevel1 0xFFFFFFE1
@@ -460,7 +456,11 @@ typedef struct {
#define rfbEncodingQualityLevel9 0xFFFFFFE9
-
+/* LibVNCServer additions. We claim 0xFFFE0000 - 0xFFFE00FF */
+#define rfbEncodingKeyboardLedState 0xFFFE0000
+#define rfbEncodingSupportedMessages 0xFFFE0001
+#define rfbEncodingSupportedEncodings 0xFFFE0002
+#define rfbEncodingServerIdentity 0xFFFE0003
/*****************************************************************************