[Remoting Android] Fix dragging issue in direct input mode
Currently hold-and-press dragging in direct input mode doesn't quite follow the user's finger. The problem is that when the viewport moves (since dragging around), the cursor position will be set to the center of the screen, while the user's finger may be on somewhere else, causing an offset between the user's finger and the cursor position. This CL fixes this problem by always moving the cursor to the finger's position when it's in direct input mode and the user is dragging around. BUG=628031 Review-Url: https://codereview.chromium.org/2166423003 Cr-Commit-Position: refs/heads/master@{#407060}
Showing
Please register or sign in to comment