servo/components
Simon B / GrausamkeitEnjoyer / God's Eye View Developer 205b97d5ed
compositing: Move cursor_pos member and update it in update_cursor() (#35934)
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>
2025-03-13 02:03:46 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor bhs: Remove direct link to liblzma (#35924) 2025-03-12 10:20:51 +00:00
bluetooth Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
canvas canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
compositing compositing: Move cursor_pos member and update it in update_cursor() (#35934) 2025-03-13 02:03:46 +00:00
config Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
constellation canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools Show correctly computed element display type in devtools (#35870) 2025-03-10 12:32:30 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
layout_2020 layout: Remove special height logic of replaced element with auto width (#35275) 2025-03-13 00:57:26 +00:00
layout_thread Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
layout_thread_2020 Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
malloc_size_of Upgrade Stylo to 2025-03-01 (#35925) 2025-03-12 06:30:49 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
net Implement nonce attribute to pass more CSP checks (#35876) 2025-03-10 09:25:34 +00:00
pixels pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00
profile Remove obsolete memory profiler console output (#35861) 2025-03-08 02:41:08 +00:00
rand Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script Set is value when constructing custom elements with the new operator (#35930) 2025-03-12 17:53:27 +00:00
script_bindings Implement ElementInternals::shadowRoot (#35923) 2025-03-12 00:09:32 +00:00
servo base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
shared canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Eliminate to_shmem dependency from servo_url (#35897) 2025-03-11 00:33:39 +00:00
webdriver_server base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
webgpu Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00