72796 - alt+space depresses focused elt additionally. r=ben sr=hewitt

This commit is contained in:
blakeross%telocity.com 2002-02-02 05:26:36 +00:00
parent 800ef03577
commit a5fd6359f0

View File

@ -3317,6 +3317,12 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
// press and a key release. The scan code is used for
// translating ALT+number key combinations.
// ignore [shift+]alt+space so the OS can handle it
if (mIsAltDown && !mIsControlDown && IS_VK_DOWN(NS_VK_SPACE)) {
result = PR_FALSE;
break;
}
if (!mIMEIsComposing)
result = OnKeyUp(wParam, (HIWORD(lParam)), lParam);
else
@ -3352,6 +3358,12 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
// press and a key release. The scan code is used for
// translating ALT+number key combinations.
// ignore [shift+]alt+space so the OS can handle it
if (mIsAltDown && !mIsControlDown && IS_VK_DOWN(NS_VK_SPACE)) {
result = PR_FALSE;
break;
}
if (mIsAltDown && mIMEIsStatusChanged) {
mIMEIsStatusChanged = FALSE;
result = PR_FALSE;