commit | 8ce7c72456f9e464b1887bf7836f49f1a1e1a55f | [log] [tgz] |
---|---|---|
author | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Apr 11 22:31:15 2014 |
committer | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Apr 11 22:31:15 2014 |
tree | 73e560f19e494df8ec57fa62d4dd4c09c8444250 | |
parent | 8d1cdaa84ed4ba13c80057ae071964ed0b892fbb [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@5890 4adac7df-926f-26a2-2b94-8c16560cd09d