зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1008723 Even while a context menu is open for an bookmark item on a popup, bookmark menus shouldn't be closed by a right click on one of them r=enndeakin
This commit is contained in:
Родитель
42a3125c8f
Коммит
296c2251d6
|
@ -7293,6 +7293,13 @@ nsWindow::DealWithPopups(HWND aWnd, UINT aMessage,
|
|||
return false;
|
||||
}
|
||||
}
|
||||
} else if (LOWORD(aWParam) == WA_CLICKACTIVE) {
|
||||
// If the WM_ACTIVATE message is caused by a click in a popup,
|
||||
// we should not rollup any popups.
|
||||
if (EventIsInsideWindow(popupWindow) ||
|
||||
!GetPopupsToRollup(rollupListener, &popupsToRollup)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче