Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: chrome/views/custom_frame_window.cc

Issue 28240: Fix taskbar activation (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/custom_frame_window.cc
===================================================================
--- chrome/views/custom_frame_window.cc (revision 10504)
+++ chrome/views/custom_frame_window.cc (working copy)
@@ -997,7 +997,10 @@
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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698