diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-05 12:34:59 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-05 12:34:59 +0000 |
commit | a77e818d9b4db8794b7a051118a0542de660a857 (patch) | |
tree | 5b065169be59eee819557cf6357beb1ccd79f236 /common/rfb/SMsgReader.cxx | |
parent | 67ebf00acc436b3bd8bcd9615d8b8610b91b0f09 (diff) | |
download | tigervnc-a77e818d9b4db8794b7a051118a0542de660a857.tar.gz tigervnc-a77e818d9b4db8794b7a051118a0542de660a857.zip |
Removed support for continuous updates, a TightVNC-specific RFB protocol
extension. That extension used to send framebuffer updates continuously, not
waiting for clients' requests. However, it showed bad results with
low-bandwidth connections, due to lack of proper data flow control.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2581 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/SMsgReader.cxx')
-rw-r--r-- | common/rfb/SMsgReader.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx index 0f5758b0..cdca1b9b 100644 --- a/common/rfb/SMsgReader.cxx +++ b/common/rfb/SMsgReader.cxx @@ -99,20 +99,6 @@ void SMsgReader::readClientCutText() handler->clientCutText(ca.buf, len); } -void SMsgReader::readEnableContinuousUpdates() -{ - bool enable = is->readU8(); - int x = is->readU16(); - int y = is->readU16(); - int w = is->readU16(); - int h = is->readU16(); - if (enable) { - handler->enableContinuousUpdates(Rect(x, y, x+w, y+h)); - } else { - handler->disableContinuousUpdates(); - } -} - void SMsgReader::readVideoRectangleSelection() { (void)is->readU8(); |