servo/components/compositing
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
..
Cargo.toml libservo: Move size handling to RenderContext from WindowMethods (#35621) 2025-02-25 15:03:53 +00:00
compositor.rs compositing: Move cursor_pos member and update it in update_cursor() (#35934) 2025-03-13 02:03:46 +00:00
lib.rs compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
touch.rs Optimize IPC for non-cancelable touch events (#35785) 2025-03-04 06:46:25 +00:00
tracing.rs compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
webview.rs compositing: Move cursor_pos member and update it in update_cursor() (#35934) 2025-03-13 02:03:46 +00:00
windowing.rs libservo: Move size handling to RenderContext from WindowMethods (#35621) 2025-02-25 15:03:53 +00:00