braveyao
d019667c00
Linux desktopCapture: fix the cursor position issue in Window sharing
...
On Linux, during Windwo sharing, the cursore capture may happen in the parent
window of the target. And the parent window may have some decorations added by
window manager(Chrome windows don't have those decorations.), so the relative
cursor position to the parent window with decorations may differ to its child
target window. The offset includes the height of caption bar and the around
shadow and border.
This problem only happens with Window sharing on Linux.
The fix is to translate the coordinates from the parent window to the coordinates space of the target window.
BUG=723889
Review-Url: https://codereview.webrtc.org/2889063002
Cr-Commit-Position: refs/heads/master@{#18243}
2017-05-23 16:31:14 +00:00
..
2017-05-16 23:50:32 +00:00
2017-05-16 23:50:32 +00:00
2017-04-05 12:00:33 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-05-18 19:27:16 +00:00
2016-06-07 23:42:07 +00:00
2016-06-07 23:42:07 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2016-11-21 21:54:30 +00:00
2017-03-22 08:13:39 +00:00
2017-04-05 12:00:33 +00:00
2017-04-28 01:39:01 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2017-03-23 07:02:01 +00:00
2016-11-11 05:57:19 +00:00
2017-04-28 01:39:01 +00:00
2016-11-02 21:49:38 +00:00
2017-03-17 22:33:27 +00:00
2016-11-07 23:25:22 +00:00
2016-09-21 19:23:22 +00:00
2016-09-05 22:26:40 +00:00
2016-11-23 01:17:19 +00:00
2016-11-30 00:09:57 +00:00
2016-11-30 00:09:57 +00:00
2017-04-05 12:00:33 +00:00
2016-10-26 20:15:47 +00:00
2017-04-28 01:39:01 +00:00
2017-03-22 18:38:46 +00:00
2017-05-18 19:27:16 +00:00
2017-05-16 23:50:32 +00:00
2017-05-16 23:50:32 +00:00
2016-09-29 00:42:08 +00:00
2016-04-22 11:59:34 +00:00
2016-04-22 11:59:34 +00:00
2016-10-01 05:29:53 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2017-02-17 22:32:04 +00:00
2017-02-17 22:32:04 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2016-11-12 01:18:39 +00:00
2016-11-12 01:18:39 +00:00
2017-04-24 07:57:16 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2017-05-23 16:31:14 +00:00
2016-03-16 22:58:13 +00:00
2016-11-16 19:11:38 +00:00
2017-02-16 20:07:44 +00:00
2017-02-16 20:07:44 +00:00
2016-09-29 00:42:08 +00:00
2016-09-21 19:23:22 +00:00
2017-03-03 22:40:15 +00:00
2016-06-07 23:42:07 +00:00
2016-09-29 00:42:08 +00:00
2017-04-05 12:00:33 +00:00
2016-04-26 15:14:48 +00:00
2016-12-12 07:30:09 +00:00
2016-11-12 01:18:39 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2016-11-12 01:18:39 +00:00
2017-03-03 22:40:15 +00:00
2017-04-05 12:00:33 +00:00
2017-01-12 10:24:27 +00:00
2016-10-19 01:22:25 +00:00
2017-04-05 12:00:33 +00:00
2016-11-19 04:31:10 +00:00
2016-10-19 01:22:25 +00:00
2016-10-19 01:22:25 +00:00
2017-04-03 18:51:18 +00:00
2016-10-20 16:34:04 +00:00
2017-02-17 22:32:04 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2017-04-05 12:00:33 +00:00
2017-04-20 21:53:36 +00:00
2017-04-05 12:00:33 +00:00