diff options
-rw-r--r-- | chrome/views/custom_frame_window.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 79ce069..110750f 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -997,7 +997,10 @@ LRESULT CustomFrameWindow::OnNCActivate(BOOL active) { PaintNow(root_view_->GetScheduledPaintRect()); } - return TRUE; + // Defering to our parent as it is important that the NCActivate message gets + // DefProc'ed or the task bar won't show our process as active. + // See bug http://crbug.com/4513. + return Window::OnNCActivate(active); } LRESULT CustomFrameWindow::OnNCCalcSize(BOOL mode, LPARAM l_param) { |