DescriptionFix keycode problems for modified keys.
There is a problem with keycode generation for non-trivial characters
(i.e. those that have modifiers) because the event array generated is
not simply a KeyDown/KeyUp combination; each modifier also gets a pair
of events.
Instead, scan through the events and send the first KeyDown that isn't
a modifier key. Also, don't send key events if nothing is changing
(as happens with the final "commit").
SendSythenticKeyEvent needed to be extended to accept modifier flags.
BUG=118639
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288179
Patch Set 1 #Patch Set 2 : treat single-key commited composition as native key event #
Total comments: 4
Patch Set 3 : fixed style issues #
Total comments: 4
Messages
Total messages: 13 (0 generated)
|