From 7d5925a7da14d0add8409dec09dc31b3f6d756e3 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 3 Mar 2009 02:59:12 +0000 Subject: 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 --- chrome/views/window.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/views/window.cc') 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); } } -- cgit v1.1