forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mirroring displays always uses 1x DSF, so the screen point has to be coverted back to 1x too. BUG=514877 TEST=manual. I tried to write test but gave up for now. Mouse warp depends on native event, which is not available in test. Existing test emulates the native event by converting the screen point back to native, but this does not work well with 2x DSF because it'll lose the precision (249 -> 498, which should really be 499). I'll update the EventGenerator and write a test in a separate CL. Review URL: https://codereview.chromium.org/1269773005 Cr-Commit-Position: refs/heads/master@{#341601}
- Loading branch information
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters