servo/components/shared/constellation
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
..
structured_data Refactor constellation broadcast channel (#38077) 2025-07-15 13:57:05 +00:00
Cargo.toml script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
from_script_message.rs canvas: Make 2D context state creation failable and use dom_canvas_backend pref for backend selection (#38310) 2025-07-28 09:13:07 +00:00
lib.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00