DescriptionFixes bug in accelerator handling in mus
Here's the problematic case:
. Add a post accelerator.
. Event comes in matching accelerator.
* Target window responds with handled.
. Different event comes in.
. Target window response with unhandled.
. Accelerator matching earlier event is notified.
The accelerator should not have been notified at that last
step. Things went wrong at * because post_target_accelerator_ was not
getting reset.
BUG=612331
TEST=covered by tests
R=sadrul@chromium.org
Committed: https://crrev.com/99106ee359c78c25120afe69e2d6964a3cd8a593
Cr-Commit-Position: refs/heads/master@{#408170}
Patch Set 1 #
Total comments: 4
Patch Set 2 : always reset #Patch Set 3 : tweak #
Messages
Total messages: 18 (9 generated)
|