summaryrefslogtreecommitdiffstats
path: root/common/rfb/ServerCore.cxx
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-06-13 18:07:53 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-06-13 18:07:53 +0000
commit6970b2d8b61a78a9d9b7549269096b8f025a8b44 (patch)
treefe3da30ae3012fdeb0422df77808bbf46c260a89 /common/rfb/ServerCore.cxx
parenta77e818d9b4db8794b7a051118a0542de660a857 (diff)
downloadtigervnc-6970b2d8b61a78a9d9b7549269096b8f025a8b44.tar.gz
tigervnc-6970b2d8b61a78a9d9b7549269096b8f025a8b44.zip
Restored the functionality of the VideoPriority parameter. This time, it
should work correctly even over slow networks, when update requests go less frequently than polling cycles. This version does not give any special meaning to the value 0, it is equivalent to 1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2584 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/ServerCore.cxx')
-rw-r--r--common/rfb/ServerCore.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/rfb/ServerCore.cxx b/common/rfb/ServerCore.cxx
index 750daae2..19b8fee4 100644
--- a/common/rfb/ServerCore.cxx
+++ b/common/rfb/ServerCore.cxx
@@ -92,3 +92,10 @@ rfb::BoolParameter rfb::Server::queryConnect
("QueryConnect",
"Prompt the local user to accept or reject incoming connections.",
false);
+
+// TightVNC-specific parameters
+// FIXME: Disable special video handling when this parameter is 0.
+rfb::IntParameter rfb::Server::videoPriority
+("VideoPriority",
+ "Priority of sending updates for video area (0..8)",
+ 0, 0, 8);