summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-03-15 19:46:57 +0100
committerChristian Beier <dontmind@freeshell.org>2012-03-15 20:01:45 +0100
commit4c7e185a971bbc93ed4469c0442dfaeeda513982 (patch)
treef02fc18cdda50e0773ec1242edc0f8fc65f1885c
parent2ebf2d06f3c3b57d8882bc96b907600887590d69 (diff)
downloadlibtdevnc-4c7e185a.tar.gz
libtdevnc-4c7e185a.zip
Move tightsubsamplevel member to the end of rfbClient struct.
Try to not break ABI between releases. Even if the code gets ugly...
-rw-r--r--rfb/rfb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 0d11357..91dea83 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -599,10 +599,6 @@ typedef struct _rfbClientRec {
#if defined(LIBVNCSERVER_HAVE_LIBJPEG) || defined(LIBVNCSERVER_HAVE_LIBPNG)
int tightCompressLevel;
#endif
-#ifdef LIBVNCSERVER_HAVE_TURBOVNC
- /* TurboVNC Encoding support (extends TightVNC) */
- int tightSubsampLevel;
-#endif
#endif
/* Ultra Encoding support */
@@ -677,6 +673,10 @@ typedef struct _rfbClientRec {
int afterEncBufLen;
#if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG)
uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */
+#ifdef LIBVNCSERVER_HAVE_TURBOVNC
+ /* TurboVNC Encoding support (extends TightVNC) */
+ int tightSubsampLevel;
+#endif
#endif
#ifdef LIBVNCSERVER_WITH_WEBSOCKETS