aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/ServerCore.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-11-20 15:36:11 +0000
committerPierre Ossman <ossman@cendio.se>2011-11-20 15:36:11 +0000
commitb114cec89edf6d69c545712f29decac1631c94a2 (patch)
treede7d752926e99c906db2e718703a7a8a59b475c4 /common/rfb/ServerCore.cxx
parent53fd544c2f68b2ff97fb3f5e60734b281ce75ad3 (diff)
downloadtigervnc-b114cec89edf6d69c545712f29decac1631c94a2.tar.gz
tigervnc-b114cec89edf6d69c545712f29decac1631c94a2.zip
Make the comparing update tracker a bit more flexible. It can now be in an
"auto" state where it will be enabled until we deem that the client is better of without it (currently triggered by explicitly stating a low compression level). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4809 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ServerCore.cxx')
-rw-r--r--common/rfb/ServerCore.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/rfb/ServerCore.cxx b/common/rfb/ServerCore.cxx
index 27e116e3..ae2fd247 100644
--- a/common/rfb/ServerCore.cxx
+++ b/common/rfb/ServerCore.cxx
@@ -47,10 +47,11 @@ rfb::IntParameter rfb::Server::clientWaitTimeMillis
"The number of milliseconds to wait for a client which is no longer "
"responding",
20000, 0);
-rfb::BoolParameter rfb::Server::compareFB
+rfb::IntParameter rfb::Server::compareFB
("CompareFB",
- "Perform pixel comparison on framebuffer to reduce unnecessary updates",
- false);
+ "Perform pixel comparison on framebuffer to reduce unnecessary updates "
+ "(0: never, 1: always, 2: auto)",
+ 2);
rfb::BoolParameter rfb::Server::protocol3_3
("Protocol3.3",
"Always use protocol version 3.3 for backwards compatibility with "