Apply screencopy transform to subsurfaces

Fixes https://github.com/pop-os/cosmic-workspaces-epoch/issues/17.
This commit is contained in:
Ian Douglas Scott 2025-01-15 10:18:50 -08:00
parent 8c4e66691c
commit 764b4ae5f8
4 changed files with 12 additions and 3 deletions

View file

@ -47,6 +47,7 @@ pub struct CaptureImage {
pub width: u32,
pub height: u32,
pub wl_buffer: SubsurfaceBuffer,
pub transform: wl_output::Transform,
#[cfg(feature = "no-subsurfaces")]
pub image: cosmic::widget::image::Handle,
}