mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
When a Wayland client calls wl_pointer.set_cursor, render the cursor surface at pointer_location using render_elements_from_surface_tree. Changes in render_output: - Collect output_geo, pointer_location, cursor_status before the inner rendering block (avoids borrow conflict with space+drm destructure) - Build cursor elements as Vec<SpaceRenderElements<_, WaylandSurfaceRenderElement<_>>> via render_elements_from_surface_tree with Kind::Cursor; hotspot is read from CursorImageSurfaceData on the cursor wl_surface - Cursor elements prepend space elements (highest z-index first, matching render_elements_for_output sort order descending by z_index) - CursorImageStatus::Hidden / Named: no cursor element emitted New imports: SpaceRenderElements, CursorImageStatus, CursorImageSurfaceData, render_elements_from_surface_tree, Kind, Scale, with_states Hardware cursor plane deferred requires DRM cursor plane API audit. |
||
|---|---|---|
| .. | ||
| weft-build-meta | ||
| weft-compositor | ||
| weft-servo-shell | ||