commit | ebe85a812e6971fcc40d081a06ab42f030624963 | [log] [tgz] |
---|---|---|
author | Gary Kacmarcik <garykac@chromium.org> | Wed Jan 23 20:11:54 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 20:11:54 2019 |
tree | be076a5d2eb73659e313c74f3df8e6d6e0bbc1a8 | |
parent | 7a340f4091c6d1ec256938d3ca9d2d9f6395aacf [diff] |
[Chromoting] Fix mouse when single display selected in multi-mon Previous code would always translate the mouse coords relative to the upper-left corner of the entire display, instead of relative to the currently selected display. This cl changes the mouse input scaler to be a DesktopRect instead of a DesktopSize because we need to keep track of the origin for proper mouse event scaling. Change-Id: I397c51280187c7a8e023e8a41940b6f37b39eb7f Reviewed-on: https://chromium-review.googlesource.com/c/1429339 Commit-Queue: Gary Kacmarcik <garykac@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#625325}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .