From e7152a7f68063a86887a9059728ca26b5404ce51 Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 7 Mar 2009 22:30:43 +0000 Subject: Allow range for X11VNC_SKIP_DISPLAY, document grab Xserver issue. Add progress_client() to proceed more quickly thru handshake. Improvements to turbovnc hack. --- x11vnc/misc/turbovnc/convert | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'x11vnc/misc/turbovnc/convert') diff --git a/x11vnc/misc/turbovnc/convert b/x11vnc/misc/turbovnc/convert index fdd0dbb..917bf3f 100755 --- a/x11vnc/misc/turbovnc/convert +++ b/x11vnc/misc/turbovnc/convert @@ -11,6 +11,7 @@ while (<>) { #define xalloc malloc #define xrealloc realloc #define rfbTightNoZlib 0x0A +#define tightSubsampLevel correMaxWidth END next; } @@ -22,11 +23,13 @@ END $_ =~ s/\b\Q$func\E\b(\s*)\(/$func$1(cl, /; } } - if (/^\s*subsampLevel\s*=\s*cl/) { - $_ = "//$_"; - print "subsampLevel = 0;\n"; - } - $_ =~ s/cl->tightQualityLevel;/cl->tightQualityLevel * 10;/; + +# if (/^\s*subsampLevel\s*=\s*cl/) { +# $_ = "//$_"; +# print "subsampLevel = 0;\n"; +# } + +# $_ =~ s/cl->tightQualityLevel;/cl->tightQualityLevel * 10;/; $_ =~ s/rfbScreen.pfbMemory/cl->scaledScreen->frameBuffer/g; $_ =~ s/rfbScreen.paddedWidthInBytes/cl->scaledScreen->paddedWidthInBytes/g; -- cgit v1.2.1