r=pedemonte, sr=blizzard (platform specific), a=mkaply (OS/2 only) Don't let F1 go to the OS - let Mozilla handle it git-svn-id: svn://10.0.0.236/trunk@161130 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6c370cb1d7
commit
de9977abfe
@ -2407,6 +2407,10 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
|
||||
((SHORT1FROMMP(mp1) & KC_VIRTUALKEY) &&
|
||||
((SHORT1FROMMP(mp1) & (KC_SHIFT | KC_ALT | KC_CTRL)) == 0) &&
|
||||
(SHORT2FROMMP(mp2) == VK_F10)) ||
|
||||
// Let Mozilla handle standalone F1, not the OS
|
||||
((SHORT1FROMMP(mp1) & KC_VIRTUALKEY) &&
|
||||
((SHORT1FROMMP(mp1) & (KC_SHIFT | KC_ALT | KC_CTRL)) == 0) &&
|
||||
(SHORT2FROMMP(mp2) == VK_F1)) ||
|
||||
// Let Mozilla handle standalone Alt, not the OS
|
||||
((SHORT1FROMMP(mp1) & KC_KEYUP) && (SHORT1FROMMP(mp1) & KC_LONEKEY) &&
|
||||
(SHORT2FROMMP(mp2) == VK_ALT)) ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user