aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-09-05 05:14:03 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-09-05 05:14:03 +0000
commit433eb1bcf28b1299162c7026079829ae805d8452 (patch)
tree9bdfe58c95eb78134bd66497eec9ac0e7a7328d0 /common/rfb
parent4f6528509a1cab20423e7c4c5afbf63e507034ec (diff)
downloadtigervnc-433eb1bcf28b1299162c7026079829ae805d8452.tar.gz
tigervnc-433eb1bcf28b1299162c7026079829ae805d8452.zip
[Bugfix] Resetting video rectangle on last client disconnect.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2755 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/VNCServerST.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx
index 838f06c3..fc2e931b 100644
--- a/common/rfb/VNCServerST.cxx
+++ b/common/rfb/VNCServerST.cxx
@@ -147,6 +147,7 @@ void VNCServerST::removeSocket(network::Socket* sock) {
slog.debug("no authenticated clients - stopping desktop");
desktopStarted = false;
desktop->stop();
+ setVideoRectangle(Rect(0, 0, 0, 0));
}
return;
}