Julien Isorce
27d5ad074c
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}
2019-04-02 19:10:34 +00:00
..
2019-03-21 15:23:05 +00:00
2019-04-01 17:00:41 +00:00
2019-03-27 14:18:41 +00:00
2018-11-28 18:25:07 +00:00
2019-01-11 21:16:22 +00:00
2018-12-22 00:10:40 +00:00
2019-03-21 15:23:05 +00:00
2019-01-11 21:16:22 +00:00
2018-11-28 18:25:07 +00:00
2019-02-01 01:21:48 +00:00
2019-01-11 17:11:39 +00:00
2018-11-28 18:25:07 +00:00
2019-03-27 14:18:41 +00:00
2018-12-22 00:10:40 +00:00
2018-12-22 00:10:40 +00:00
2018-04-10 00:37:59 +00:00
2019-02-01 01:21:48 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-25 20:29:58 +00:00
2018-07-25 14:59:26 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-12-22 00:10:40 +00:00
2017-09-15 18:56:26 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-12-22 00:10:40 +00:00
2019-01-11 17:11:39 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2019-04-02 19:10:34 +00:00
2019-04-02 19:10:34 +00:00
2018-06-19 14:00:39 +00:00
2019-02-20 16:02:59 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-01-11 21:16:22 +00:00
2018-12-22 00:10:40 +00:00
2018-11-28 18:25:07 +00:00
2019-01-25 20:29:58 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 14:00:39 +00:00
2019-04-02 10:13:36 +00:00
2018-06-19 14:00:39 +00:00
2019-04-02 10:13:36 +00:00
2018-09-05 17:42:26 +00:00
2018-11-28 18:25:07 +00:00
2018-07-25 14:59:26 +00:00
2019-01-11 17:11:39 +00:00
2018-04-10 00:37:59 +00:00
2018-06-19 14:00:39 +00:00
2018-11-28 18:25:07 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2018-11-28 18:25:07 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2019-01-25 20:29:58 +00:00
2017-11-09 11:56:32 +00:00
2018-07-05 10:59:49 +00:00
2019-03-21 15:23:05 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-01-25 20:29:58 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-01-25 20:29:58 +00:00
2019-01-11 17:11:39 +00:00
2018-11-28 18:25:07 +00:00
2019-03-27 14:18:41 +00:00
2019-01-25 20:29:58 +00:00
2018-07-05 10:59:49 +00:00
2019-01-25 20:29:58 +00:00
2018-07-05 10:59:49 +00:00
2017-11-07 01:49:35 +00:00
2019-01-25 20:29:58 +00:00