aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-03-23 09:30:09 +0100
committerPierre Ossman <ossman@cendio.se>2018-03-28 12:50:39 +0200
commita2b80d6ae7a4ad2df5db657c7e23aabf3df104e4 (patch)
treee74507a595c384a38ba72330ae6c1310319611c8 /common/rfb/VNCServerST.h
parent6b2f113b357c035d18b0d97b8fd1b74f8991b4d4 (diff)
downloadtigervnc-a2b80d6ae7a4ad2df5db657c7e23aabf3df104e4.tar.gz
tigervnc-a2b80d6ae7a4ad2df5db657c7e23aabf3df104e4.zip
Limit lossless refresh update to safe size
We don't want to waste bandwidth on the lossless refresh if we might need that bandwidth for a normal update. Try to estimate how much data we can safely send without interfering.
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r--common/rfb/VNCServerST.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index 584c48c2..9a1a44d1 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -227,6 +227,7 @@ namespace rfb {
bool needRenderedCursor();
void startFrameClock();
void stopFrameClock();
+ int msToNextUpdate();
void writeUpdate();
bool checkUpdate();
const RenderedCursor* getRenderedCursor();