зеркало из https://github.com/mozilla/gecko-dev.git
make sure the charCode also gets mapped
bug 5716 r=brade (sort of)
This commit is contained in:
Родитель
3b9f583f69
Коммит
d0fe58046f
|
@ -2077,7 +2077,7 @@ PRBool nsWindow::DispatchKeyEvent(PRUint32 aEventType, WORD aCharCode, UINT aVir
|
|||
|
||||
InitEvent(event, aEventType, &point); // this add ref's event.widget
|
||||
|
||||
event.charCode = aCharCode;
|
||||
event.charCode = !mIMEIsComposing?MapFromNativeToDOM(aCharCode):aCharCode;
|
||||
event.keyCode = !mIMEIsComposing?MapFromNativeToDOM(aVirtualCharCode):aVirtualCharCode;
|
||||
|
||||
#ifdef KE_DEBUG
|
||||
|
|
Загрузка…
Ссылка в новой задаче