зеркало из https://github.com/mozilla/gecko-dev.git
Bug 525762 Fix regression typo from bug 242847 r=jimm
This commit is contained in:
Родитель
f89f6b490f
Коммит
1b9912be3b
|
@ -4976,7 +4976,7 @@ LRESULT nsWindow::ProcessKeyUpMessage(const MSG &aMsg, PRBool *aEventDispatched)
|
|||
}
|
||||
|
||||
if (!nsIMM32Handler::IsComposing(this) &&
|
||||
(aMsg.message != WM_KEYUP || aMsg.message != VK_MENU)) {
|
||||
(aMsg.message != WM_KEYUP || aMsg.wParam != VK_MENU)) {
|
||||
// Ignore VK_MENU if it's not a system key release, so that the menu bar does not trigger
|
||||
// This helps avoid triggering the menu bar for ALT key accelerators used in
|
||||
// assistive technologies such as Window-Eyes and ZoomText, and when using Alt+Tab
|
||||
|
|
Загрузка…
Ссылка в новой задаче