diff options
author | Oleg Sheikin <olg@tightvnc.com> | 2005-12-22 20:57:58 +0000 |
---|---|---|
committer | Oleg Sheikin <olg@tightvnc.com> | 2005-12-22 20:57:58 +0000 |
commit | 5c642e9b66c4b2479bca3eeb3c6ca5b0ff1f240d (patch) | |
tree | 7589986c1dfaf82a3c2d13460b25ef328882fe00 /rfb/VNCServerST.cxx | |
parent | a10c27623444fd793a4340008f8e7b5365268560 (diff) | |
download | tigervnc-5c642e9b66c4b2479bca3eeb3c6ca5b0ff1f240d.tar.gz tigervnc-5c642e9b66c4b2479bca3eeb3c6ca5b0ff1f240d.zip |
The code which realizes full functionality Control Panel,
in a kind existing now, was added.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@467 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfb/VNCServerST.cxx')
-rw-r--r-- | rfb/VNCServerST.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rfb/VNCServerST.cxx b/rfb/VNCServerST.cxx index 9e6c4802..9f6ecb5e 100644 --- a/rfb/VNCServerST.cxx +++ b/rfb/VNCServerST.cxx @@ -81,7 +81,7 @@ VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_, renderedCursorInvalid(false), securityFactory(sf ? sf : &defaultSecurityFactory), queryConnectionHandler(0), useEconomicTranslate(false), - lastConnectionTime(0) + lastConnectionTime(0), disableclients(false) { lastUserInputTime = lastDisconnectTime = time(0); slog.debug("creating single-threaded server %s", name.buf); @@ -511,6 +511,7 @@ void VNCServerST::checkUpdate() void VNCServerST::getConnInfo(ListConnInfo * listConn) { listConn->Clear(); + listConn->setDisable(getDisable()); if (clients.empty()) return; std::list<VNCSConnectionST*>::iterator i; @@ -521,6 +522,7 @@ void VNCServerST::getConnInfo(ListConnInfo * listConn) void VNCServerST::setConnStatus(ListConnInfo* listConn) { + setDisable(listConn->getDisable()); if (listConn->Empty() || clients.empty()) return; for (listConn->iBegin(); !listConn->iEnd(); listConn->iNext()) { VNCSConnectionST* conn = (VNCSConnectionST*)listConn->iGetConn(); |