commit | 27d5ad074c9121f0a2ae2f676c8a67b4e1c9e2b7 | [log] [tgz] |
---|---|---|
author | Julien Isorce <julien.isorce@chromium.org> | Tue Apr 02 17:01:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 02 19:10:34 2019 |
tree | fe5afad08325a7b2d98f9faae2ccf67de55716d1 | |
parent | 9435c61021e8910f3bd26f557e3de2502b54a474 [diff] |
Fix mouse not being shared with Handgouts on Win10 When setting display scale to 200%, the mouse was shared only for the top left quarter. Regressed since https://chromium-review.googlesource.com/641075. Indeed frame->rect() takes into account scale_factor while the frame is constructed with a size that does not take this scale factor into account. Also make sure to do a float disivison in DesktopFrame::scale_factor() so that it returns 1.5 instead of 1 when dpi is 144 (i.e. 150%). Bug: chromium:948362 Change-Id: Ic10f44946c9f1b53181244a44a5b45109c259f9f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130371 Reviewed-by: Brave Yao <braveyao@webrtc.org> Commit-Queue: Julien Isorce <julien.isorce@chromium.org> Cr-Commit-Position: refs/heads/master@{#27424}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.