servo/components/compositing
Martin Robinson 6651f37c05
script/compositor: Handle cursor updates from script (#38518)
Instead of using WebRender hit testing to update the cursor, base it on
layout hit tests. This allows removing the majority of WebRender hit
test items and finally opens up the possibility of adding support for
custom cursors. In addition, this change fixes an issue where cursors
were not set properly on areas of the viewport that extended past the
page content.

Testing: This is difficult to test as verifying that the cursor changed
properly is beyond the capabilities of Servo's test harnesses.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-08-07 18:49:38 +00:00
..
Cargo.toml script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
compositor.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
lib.rs compositor: Add an initial RefreshDriver (#37169) 2025-05-29 10:43:49 +00:00
refresh_driver.rs script: Allow reflows that do not produce display lists (#37186) 2025-06-12 19:25:04 +00:00
touch.rs libservo|compositor: Have scroll offset directionality match that of WebRender and the web (#37752) 2025-07-03 13:04:06 +00:00
tracing.rs compositor/layout: Rely on layout for fine-grained input event hit testing (#38480) 2025-08-07 08:38:43 +00:00
webview_manager.rs Replace all sort with unstable sort (#38427) 2025-08-02 12:41:03 +00:00
webview_renderer.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00