cros: Filter mouse events for window cycle lists until mouse used.
Currently the initial position of the mouse can trigger the various mouse event handlers for window cycle items. This causes the focus ring to be set on unexpected items, despite the user just using their keyboard. This CL makes the window cycle event filter track the user's initial mouse position, filtering mouse events until the user actually moves their mouse or they click, drag, etc. Test: manual + added Bug: 1143275 Change-Id: I6a3b160aa2beb10e32c3b15b2d25e6f70cc5ca2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2529569 Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org> Reviewed-by:Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#826967}
Showing
Please register or sign in to comment