mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 600117 part.7 Implement KeyboardEvent.repeat on Qt r=romaxa
This commit is contained in:
parent
9bb2a5bd9a
commit
41ab6ff98c
@ -169,6 +169,9 @@ InitKeyEvent(WidgetKeyboardEvent &aEvent, QKeyEvent *aQEvent)
|
||||
aQEvent->modifiers() & Qt::AltModifier,
|
||||
aQEvent->modifiers() & Qt::ShiftModifier,
|
||||
aQEvent->modifiers() & Qt::MetaModifier);
|
||||
aEvent.mIsRepeat =
|
||||
(aEvent.message == NS_KEY_DOWN || aEvent.message == NS_KEY_PRESS) &&
|
||||
aQEvent->isAutoRepeat();
|
||||
aEvent.time = 0;
|
||||
|
||||
if (sAltGrModifier) {
|
||||
|
Loading…
Reference in New Issue
Block a user