summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 02:59:12 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 02:59:12 +0000
commit7d5925a7da14d0add8409dec09dc31b3f6d756e3 (patch)
tree3ab31cb6053a9c8402703858f4075528985dcc4e /chrome/views
parentf46c39462c7a3263d1a6ddab09eb9d60a8eb0610 (diff)
downloadchromium_src-7d5925a7da14d0add8409dec09dc31b3f6d756e3.zip
chromium_src-7d5925a7da14d0add8409dec09dc31b3f6d756e3.tar.gz
chromium_src-7d5925a7da14d0add8409dec09dc31b3f6d756e3.tar.bz2
Make it so that dropdown selects don't deactivate the main frame when opened http://crbug.com/8247
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/views/window.cc b/chrome/views/window.cc
index a879a99..5024b0c 100644
--- a/chrome/views/window.cc
+++ b/chrome/views/window.cc
@@ -407,6 +407,9 @@ void Window::OnActivateApp(BOOL active, DWORD thread_id) {
// disables inactive rendering now.
disable_inactive_rendering_ = false;
non_client_view_->DisableInactiveRendering(false);
+ // Update the native frame too, since it could be rendering the non-client
+ // area.
+ CallDefaultNCActivateHandler(FALSE);
}
}