diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-09 23:07:15 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-09 23:07:15 +0000 |
commit | 0544b7fab8cd96a0b2d66bbf7f5375aaebe31289 (patch) | |
tree | 5c5e6ac0def2b59c7263bed68d95f3461bfaee3b /remoting/host/capturer_gdi.cc | |
parent | c267f4581de64ec639fee62c63172c52de87a5ba (diff) | |
download | chromium_src-0544b7fab8cd96a0b2d66bbf7f5375aaebe31289.zip chromium_src-0544b7fab8cd96a0b2d66bbf7f5375aaebe31289.tar.gz chromium_src-0544b7fab8cd96a0b2d66bbf7f5375aaebe31289.tar.bz2 |
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
Diffstat (limited to 'remoting/host/capturer_gdi.cc')
-rw-r--r-- | remoting/host/capturer_gdi.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/capturer_gdi.cc b/remoting/host/capturer_gdi.cc index c405f3f..ab325321 100644 --- a/remoting/host/capturer_gdi.cc +++ b/remoting/host/capturer_gdi.cc @@ -88,9 +88,11 @@ void CapturerGdi::ScreenConfigurationChanged() { } void CapturerGdi::CalculateInvalidRects() { - ClearInvalidRects(); CaptureImage(); + if (IsCaptureFullScreen()) + capture_fullscreen_ = true; + if (capture_fullscreen_) { InvalidateFullScreen(); } else { |