Apply screencopy transform to subsurfaces
Fixes https://github.com/pop-os/cosmic-workspaces-epoch/issues/17.
This commit is contained in:
parent
8c4e66691c
commit
764b4ae5f8
4 changed files with 12 additions and 3 deletions
|
|
@ -60,6 +60,7 @@ fn create_solid_capture_image(r: u8, g: u8, b: u8) -> CaptureImage {
|
|||
.into(),
|
||||
))
|
||||
.0,
|
||||
transform: wl_output::Transform::Normal,
|
||||
#[cfg(feature = "no-subsurfaces")]
|
||||
image: cosmic::widget::image::Handle::from_rgba(512, 512, [r, g, b, 255].repeat(512 * 512)),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue