DescriptionAdjust cursor position to take multiple screens into consideration
The position returned from last_mouse_position() is in screen
co-ordinates but the calculation steps for the composition expect that
the cursor position be relative to the desktop dimentions.
This change transforms the screen relative position into a position
relative to the desktop window and hence relative to the secondary
display.
BUG=371761
TEST=Under ChromeOS capture a secondary screen and observe that the
pointer is now composed into the video steam in the correct place
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269650
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|