mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
23c4216ab7
commit
beeb960987
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user