Commit 5a1478c1 authored by jcampan@chromium.org's avatar jcampan@chromium.org

Not DefProc'ing the NCActivate seems to cause the process not to be shown as...

Not DefProc'ing the NCActivate seems to cause the process not to be shown as activate when originally shown.

BUG=4513
TEST=Start Chrome, the Chrome entry in the task bar should be shown as active.
R=ben
Review URL: http://codereview.chromium.org/28240

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10566 0039d316-1c4b-4281-b951-d872f2087c98
parent bab44ba4
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment