summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfb/rfb.h')
-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