Add a no-subsurfaces feature for debugging
This commit is contained in:
parent
1fc416bb2e
commit
bf2cd273f9
5 changed files with 24 additions and 3 deletions
|
|
@ -87,6 +87,8 @@ pub struct CaptureImage {
|
|||
pub width: u32,
|
||||
pub height: u32,
|
||||
pub wl_buffer: SubsurfaceBuffer,
|
||||
#[cfg(feature = "no-subsurfaces")]
|
||||
pub image: cosmic::widget::image::Handle,
|
||||
}
|
||||
|
||||
pub fn subscription(conn: Connection) -> iced::Subscription<Event> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue