Invalidate fullscreen when a new client connects to chromoting host
BUG=72252
TEST=Reconnect and screen looks right
Review URL: http://codereview.chromium.org/6469004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74365 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/host/capturer_linux.cc b/remoting/host/capturer_linux.cc
index 8c1e74c..b43158a 100644
--- a/remoting/host/capturer_linux.cc
+++ b/remoting/host/capturer_linux.cc
@@ -202,6 +202,9 @@
}
void CapturerLinuxPimpl::CalculateInvalidRects() {
+ if (capturer_->IsCaptureFullScreen())
+ capture_fullscreen_ = true;
+
// TODO(ajwong): The capture_fullscreen_ logic here is very ugly. Refactor.
// Find the number of events that are outstanding "now." We don't just loop