From: Constantin Kaplinsky Date: Fri, 5 Sep 2008 05:14:03 +0000 (+0000) Subject: [Bugfix] Resetting video rectangle on last client disconnect. X-Git-Tag: v0.0.90~389 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=433eb1bcf28b1299162c7026079829ae805d8452;p=tigervnc.git [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 --- 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; }