mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 600117 part.6 Implement KeyboardEvent.repeat on OS/2 r=daveryeo
This commit is contained in:
parent
0c8f5605d8
commit
b8abd43bf8
@ -2768,6 +2768,7 @@ bool nsWindow::DispatchKeyEvent(MPARAM mp1, MPARAM mp2)
|
||||
event.InitBasicModifiers(fsFlags & KC_CTRL, fsFlags & KC_ALT,
|
||||
fsFlags & KC_SHIFT, false);
|
||||
event.charCode = 0;
|
||||
event.mIsRepeat = event.message == NS_KEY_DOWN && CHAR3FROMMP(mp1) != 0;
|
||||
|
||||
// Check for a scroll mouse event vs. a keyboard event. The way we know
|
||||
// this is that the repeat count is 0 and the key is not physically down.
|
||||
|
Loading…
Reference in New Issue
Block a user