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
Родитель aafb4142d6
Коммит d627a970a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -8024,7 +8024,7 @@ nsWindow::DealWithPopups(HWND inWnd, UINT inMsg, WPARAM inWParam, LPARAM inLPara
} // foreach parent menu widget } // 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 // Prevent the click inside the popup from causing a change in window
// activation. Since the popup is shown non-activated, we need to eat // activation. Since the popup is shown non-activated, we need to eat
// any requests to activate the window while it is displayed. Windows // any requests to activate the window while it is displayed. Windows