servo/components/compositing
bors-servo c57e9bb938
Auto merge of #23770 - matharumanpreet00:update_cursor_on_scroll, r=paulrouget
track and update cursor while scrolling

<!-- Please describe your changes on the following line: -->
This PR follows PR #23313 to fix the issue #12604 by adding a field `cursor_pos: DevicePoint` to `IOCompositor` and adding a `update_cursor()` method. This is based on the improvements suggested by @paulrouget in this [feedback](https://github.com/servo/servo/pull/23313#issuecomment-489017975) comment.

This is my first time contributing to open source, i would love any feedback.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12604 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they aren't testable, as discussed in the comments on #12604

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23770)
<!-- Reviewable:end -->
2019-07-15 02:42:49 -04:00
..
build.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
Cargo.toml Add media (WindowGLContext) module in canvas_trait 2019-07-04 10:24:01 +02:00
compositor.rs Auto merge of #23770 - matharumanpreet00:update_cursor_on_scroll, r=paulrouget 2019-07-15 02:42:49 -04:00
compositor_thread.rs rustfmt 2019-07-09 10:52:43 -04:00
gl.rs WR update: new viewport semantic 2019-03-22 15:41:48 +08:00
lib.rs Move RenderNotifier from compositing to servo 2019-02-28 19:53:54 +05:30
touch.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
windowing.rs rustfmt 2019-07-09 10:52:43 -04:00