Bug 815691 - The panel's context menu doesn't change after clicking on a different item

r=jimm
This commit is contained in:
Neil Deakin 2012-12-17 14:55:37 +01:00
parent aafb4142d6
commit d627a970a4

View File

@ -8024,7 +8024,7 @@ nsWindow::DealWithPopups(HWND inWnd, UINT inMsg, WPARAM inWParam, LPARAM inLPara
} // foreach parent menu widget
}
if (inMsg == WM_MOUSEACTIVATE && popupsToRollup == UINT32_MAX) {
if (inMsg == WM_MOUSEACTIVATE) {
// Prevent the click inside the popup from causing a change in window
// activation. Since the popup is shown non-activated, we need to eat
// any requests to activate the window while it is displayed. Windows