mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
Previously a member of IOCompositor, the `cursor_pos` DevicePoint did not reflect the true position of the cursor. This caused flickering on mouse hover, see [issue #35875.] The value of `cursor_pos` within IOCompositor was always (x=0, y=0) regardless of the true cursor position (it was never updated, must be a bug or an oversight?). Moving `cursor_pos` to `ServoRenderer`, updating `cursor_pos` on `dispatch_input_event()`, and storing cursor position in `ServoRenderer` through method `update_cursor()` fixes the flickering previously observed. Signed-off-by: devgev <leifminfagel@gmail.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
compositor.rs | ||
lib.rs | ||
touch.rs | ||
tracing.rs | ||
webview.rs | ||
windowing.rs |