mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 600117 part.3 Implement KeyboardEvent.repeat on Mac r=smichaud
This commit is contained in:
parent
193fd83275
commit
10e9175c49
@ -929,6 +929,9 @@ TISInputSourceWrapper::InitKeyEvent(NSEvent *aNativeKeyEvent,
|
||||
break;
|
||||
}
|
||||
|
||||
aKeyEvent.mIsRepeat =
|
||||
([aNativeKeyEvent type] == NSKeyDown) ? [aNativeKeyEvent isARepeat] : false;
|
||||
|
||||
PR_LOG(gLog, PR_LOG_ALWAYS,
|
||||
("%p TISInputSourceWrapper::InitKeyEvent, "
|
||||
"shift=%s, ctrl=%s, alt=%s, meta=%s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user