diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 01:39:44 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 01:39:44 +0000 |
commit | edde3626e123281a42544347f3d8bbd0d3d108df (patch) | |
tree | e9dd3f0d9c1202e5ee12fbd4170b3036ae1960fc /remoting | |
parent | 43a85b99d80ea582aa6cc6ae834b746189f4e556 (diff) | |
download | chromium_src-edde3626e123281a42544347f3d8bbd0d3d108df.zip chromium_src-edde3626e123281a42544347f3d8bbd0d3d108df.tar.gz chromium_src-edde3626e123281a42544347f3d8bbd0d3d108df.tar.bz2 |
Fix test for disabling curtain mode (and hiding DisconnectWindow, etc).
BUG=87467
TEST=
Review URL: http://codereview.chromium.org/7218064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/chromoting_host.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index f38e928..fcd4e92 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -413,8 +413,8 @@ void ChromotingHost::OnClientDisconnected(ConnectionToClient* connection) { } } - // Enable the "curtain", if at least one client is actually authenticated. - if (AuthenticatedClientsCount() > 0) { + // Disable the "curtain" if there are no more active clients. + if (AuthenticatedClientsCount() == 0) { EnableCurtainMode(false); if (is_it2me_) { MonitorLocalInputs(false); |