screencapture: implement ext_foreign_toplevel_image_capture_source_manager_v1
This commit is contained in:
parent
40bce507a6
commit
e91993fb18
8 changed files with 185 additions and 51 deletions
|
|
@ -4,6 +4,7 @@ use {
|
|||
ifs::wl_output::OutputGlobalOpt,
|
||||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
tree::ToplevelOpt,
|
||||
wire::{ext_image_capture_source_v1::*, ExtImageCaptureSourceV1Id},
|
||||
},
|
||||
std::rc::Rc,
|
||||
|
|
@ -14,6 +15,7 @@ use {
|
|||
#[derive(Clone)]
|
||||
pub enum ImageCaptureSource {
|
||||
Output(Rc<OutputGlobalOpt>),
|
||||
Toplevel(ToplevelOpt),
|
||||
}
|
||||
|
||||
pub struct ExtImageCaptureSourceV1 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue