зеркало из https://github.com/mozilla/gecko-dev.git
Bug 815691 - The panel's context menu doesn't change after clicking on a different item
r=jimm
This commit is contained in:
Родитель
aafb4142d6
Коммит
d627a970a4
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче