Use native coordinates to warp the cursor to another display.
This is roughly how this works. - Takes the bounds of the edge indicator in screen coords and convert to native coords - If the location of mouse in native coords moves into this bounds, we need to warp the mouse. - Convert the current mouse location in screen coords to the destination window's host coords. Adjust so that the location is inside the host window's bounds. No flag. I'll simply flip the flag if I need to disable this on branch. BUG=321699,306632 TEST=TBD Review URL: https://codereview.chromium.org/270863005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269758 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment