config: allow capturing only selected workspaces
This commit is contained in:
parent
de71be0674
commit
9c7299234a
14 changed files with 224 additions and 4 deletions
|
|
@ -316,6 +316,20 @@ pub enum ClientMessage<'a> {
|
|||
MakeRenderDevice {
|
||||
device: DrmDevice,
|
||||
},
|
||||
GetSeatWorkspace {
|
||||
seat: Seat,
|
||||
},
|
||||
SetDefaultWorkspaceCapture {
|
||||
capture: bool,
|
||||
},
|
||||
GetDefaultWorkspaceCapture,
|
||||
SetWorkspaceCapture {
|
||||
workspace: Workspace,
|
||||
capture: bool,
|
||||
},
|
||||
GetWorkspaceCapture {
|
||||
workspace: Workspace,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, Debug)]
|
||||
|
|
@ -409,6 +423,15 @@ pub enum Response {
|
|||
width: i32,
|
||||
height: i32,
|
||||
},
|
||||
GetSeatWorkspace {
|
||||
workspace: Workspace,
|
||||
},
|
||||
GetDefaultWorkspaceCapture {
|
||||
capture: bool,
|
||||
},
|
||||
GetWorkspaceCapture {
|
||||
capture: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue