]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] Resetting video rectangle on last client disconnect.
authorConstantin Kaplinsky <const@tightvnc.com>
Fri, 5 Sep 2008 05:14:03 +0000 (05:14 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Fri, 5 Sep 2008 05:14:03 +0000 (05:14 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2755 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/VNCServerST.cxx

index 838f06c3a02e5baf32cecd2efa04dc38976ea032..fc2e931bd6c756d765339c5282d4624ab7cf48f9 100644 (file)
@@ -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;
     }