diff options
author | dscho <dscho> | 2006-03-27 15:41:51 +0000 |
---|---|---|
committer | dscho <dscho> | 2006-03-27 15:41:51 +0000 |
commit | 10c61b53c275f125432fa20d8348aafcfed2bf93 (patch) | |
tree | 90c8504a9e18f8eab360e3d036fe72a30bad2f26 /libvncserver | |
parent | 199ec23a058a46c5caebc632756862d968eb437f (diff) | |
download | libtdevnc-10c61b53c275f125432fa20d8348aafcfed2bf93.tar.gz libtdevnc-10c61b53c275f125432fa20d8348aafcfed2bf93.zip |
ignore maxRectsPerUpdate when encoding is Zlib (thanks scarr)
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/rfbserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index 8fab930..f565f05 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -1383,6 +1383,8 @@ rfbSendFramebufferUpdate(rfbClientPtr cl, && cl->preferredEncoding != rfbEncodingTight /* XXX Should rfbEncodingCoRRE be in here? */ && cl->preferredEncoding != rfbEncodingCoRRE + /* Zlib encoding splits rectangles up into smaller chunks */ + && cl->preferredEncoding != rfbEncodingZlib #endif #endif && nUpdateRegionRects>cl->screen->maxRectsPerUpdate) { |