commit | 5e9b73011bf23ffbf48d39d6704e65f037a9bdd7 | [log] [tgz] |
---|---|---|
author | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Jan 30 23:27:35 2014 |
committer | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Thu Jan 30 23:27:35 2014 |
tree | 3504f1955e5a33770024546eee77f81dc64cdb04 | |
parent | c13a5372fe8e8ef925b6867e7e0fb5a14254ea66 [diff] |
Fix the mouse cursor offset issue on Mac. The problem is that MouseCursorMonitor returns coordinates in DIPs, while DisplayAndMouseComposer assumes that they are in physical pixels. The fix is to convert the position to physical pixels in MouseCursorMonitorMac. R=sergeyu@chromium.org Review URL: https://webrtc-codereview.appspot.com/7739006 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5463 4adac7df-926f-26a2-2b94-8c16560cd09d