From 6970b2d8b61a78a9d9b7549269096b8f025a8b44 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Fri, 13 Jun 2008 18:07:53 +0000 Subject: 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 --- common/rfb/ServerCore.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/rfb/ServerCore.cxx') 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); -- cgit v1.2.3