ext-image-capture-source: output: Apply transform to cursor

The cursor can be expected to also be transformed if the output is
transformed.
This commit is contained in:
Andri Yngvason 2025-07-23 15:05:54 +00:00
parent ccec4116b3
commit 80c7e0f772

View file

@ -283,7 +283,8 @@ static void output_cursor_source_copy_frame(struct wlr_ext_image_capture_source_
struct timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
wlr_ext_image_copy_capture_frame_v1_ready(frame, WL_OUTPUT_TRANSFORM_NORMAL, &now);
wlr_ext_image_copy_capture_frame_v1_ready(frame,
cursor_source->output->transform, &now);
}
static const struct wlr_ext_image_capture_source_v1_interface output_cursor_source_impl = {