mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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:
parent
ccec4116b3
commit
80c7e0f772
1 changed files with 2 additions and 1 deletions
|
|
@ -283,7 +283,8 @@ static void output_cursor_source_copy_frame(struct wlr_ext_image_capture_source_
|
||||||
struct timespec now;
|
struct timespec now;
|
||||||
clock_gettime(CLOCK_MONOTONIC, &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 = {
|
static const struct wlr_ext_image_capture_source_v1_interface output_cursor_source_impl = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue