diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-18 00:54:45 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-18 00:54:45 +0000 |
commit | e9e77e410bfb75a82ef7cdeb4027afea1c90daea (patch) | |
tree | 3316c20a2c047a75efa6864465803428d3cc0cbe /chrome | |
parent | 9cd0144cccf979ecce9f193f77e50c05544bc4a7 (diff) | |
download | chromium_src-e9e77e410bfb75a82ef7cdeb4027afea1c90daea.zip chromium_src-e9e77e410bfb75a82ef7cdeb4027afea1c90daea.tar.gz chromium_src-e9e77e410bfb75a82ef7cdeb4027afea1c90daea.tar.bz2 |
Fix painting of the title bar when the window is maximized and then deactivated.
http://crbug.com/2456
Review URL: http://codereview.chromium.org/2953
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 9a1a079..d058543 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -916,7 +916,7 @@ LRESULT CustomFrameWindow::OnNCActivate(BOOL active) { // We can get WM_NCACTIVATE before we're actually visible. If we're not // visible, no need to paint. - if (!IsMaximized() && IsWindowVisible(GetHWND())) { + if (IsWindowVisible(GetHWND())) { non_client_view_->SchedulePaint(); // We need to force a paint now, as a user dragging a window will block // painting operations while the move is in progress. |