diff options
author | Simon Rettberg | 2018-08-02 16:30:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-02 16:30:09 +0200 |
commit | 7e30e24934b5f7d21cbb0ada865bd3fc1b011ab4 (patch) | |
tree | 3f6ab3857f0ce8d4c7a8a63f45151488e4188b79 /src/server/net/client.cpp | |
parent | Remove ugly comment separator lines above functions (diff) | |
download | pvs2-7e30e24934b5f7d21cbb0ada865bd3fc1b011ab4.tar.gz pvs2-7e30e24934b5f7d21cbb0ada865bd3fc1b011ab4.tar.xz pvs2-7e30e24934b5f7d21cbb0ada865bd3fc1b011ab4.zip |
[server] Fix current VNC projection source check, fix button enable
* streaming from/to tutor was enabled even if selected client was
offline
* VNC client start command was swallowed even if no projection was
running (just matched the last projection source)
* Screen wasn't unlocked again when switching from LockedUnicast to
Unicast
Diffstat (limited to 'src/server/net/client.cpp')
-rw-r--r-- | src/server/net/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/net/client.cpp b/src/server/net/client.cpp index e11a3e7..977eb84 100644 --- a/src/server/net/client.cpp +++ b/src/server/net/client.cpp @@ -273,7 +273,7 @@ void Client::stopVncServer() void Client::startVncClient(const Client * const to) { - if (_projectionSource == to->_id) + if (_isActiveVncClient && _projectionSource == to->_id) return; // Already watching given target, do nothing NetworkMessage msg; msg.setField(_ID, _VNCCLIENT); |