commit | 538aff6a97919e3d7b9ff908c87318c6cf619c43 | [log] [tgz] |
---|---|---|
author | jiayl@webrtc.org <jiayl@webrtc.org> | Fri Apr 11 22:31:15 2014 +0000 |
committer | jiayl@webrtc.org <jiayl@webrtc.org> | Fri Apr 11 22:31:15 2014 +0000 |
tree | a688d83439ce4c50412a0e7912c5a4a68e18c324 | |
parent | d399a50953110d18543de4edaff386e3a6049fa1 [diff] |
Fix the captured screen rect conversion. device_mode.dmPosition is already relative to the primary display's top-left, while the expected value of GetScreenRect() is also relative to the primary display's top-left. TESTED=verified on Windows single monitor capturing and cursor capturing is fixed. BUG=https://code.google.com/p/chromium/issues/detail?id=362631 R=wez@chromium.org Review URL: https://webrtc-codereview.appspot.com/11789006 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5890 4adac7df-926f-26a2-2b94-8c16560cd09d