summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/mainwindow/mainwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 7f0586f..e0f5269 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -451,7 +451,6 @@ void MainWindow::broadcast(Client *from)
// Server must not listen to anybody
_streamingSource->stopVncClient();
-
// Set desired projection source on all clients, if not "from" or oflline
for (QList<ConnectionFrame*>::iterator it(_clientFrames.begin()); it != _clientFrames.end(); ++it)
if ((*it)->client() != NULL && (*it)->client() != _streamingSource)
@@ -485,14 +484,6 @@ void MainWindow::multicast(Client *from, Client *to, bool blockOthers)
_streamingSource->stopVncServer();
_streamingSource = from;
- // Projection source is never allowed to be an active VNC viewer
- if (from->isActiveVncClient())
- from->stopVncClient();
-
- // Projection destination is never allowed to be an active VNC server
- if (to->isActiveVncServer())
- to->stopVncServer();
-
from->stopVncClient();
_watchers.insert(to->id(), to);