config: allow retrieving the modes
This commit is contained in:
parent
2ab7b43f74
commit
558bea47b7
8 changed files with 73 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ use {
|
|||
timer::Timer,
|
||||
video::{connector_type::ConnectorType, Connector, DrmDevice, GfxApi, Transform},
|
||||
Axis, Direction, PciId, Workspace,
|
||||
_private::WireMode,
|
||||
},
|
||||
serde::{Deserialize, Serialize},
|
||||
std::time::Duration,
|
||||
|
|
@ -352,6 +353,9 @@ pub enum ClientMessage<'a> {
|
|||
SetDoubleClickDistance {
|
||||
dist: i32,
|
||||
},
|
||||
ConnectorModes {
|
||||
connector: Connector,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
@ -454,6 +458,9 @@ pub enum Response {
|
|||
GetWorkspaceCapture {
|
||||
capture: bool,
|
||||
},
|
||||
ConnectorModes {
|
||||
modes: Vec<WireMode>,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue