ozone: evdev: Fix possibility of stuck keys with libevdev
Same as previous unplug fix, but for the libevdev/gestures path. This applies to hybrid keyboards with attached mouse/touchpad. The SYN_DROPPED part is N/A because that is handled by libevdev. BUG=463002 TEST=Tested unplug by unplugging devices with shift held. Shift gets properly released rather than being stuck. (NB: Could not reproduce without adding a delay to expose the race). Review URL: https://codereview.chromium.org/990483002 Cr-Commit-Position: refs/heads/master@{#319673}
Showing
Please register or sign in to comment