1
0
Fork 0
forked from wry/wry

config: allow capturing only selected workspaces

This commit is contained in:
Julian Orth 2023-02-04 14:07:55 +01:00
parent de71be0674
commit 9c7299234a
14 changed files with 224 additions and 4 deletions

View file

@ -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)]