add config options for waking dpms on mouse and keyboard interaction
This commit is contained in:
parent
2167484861
commit
eece44a59c
12 changed files with 116 additions and 9 deletions
|
|
@ -547,7 +547,7 @@ impl JayCompositorRequestHandler for JayCompositor {
|
|||
fn set_dpms(&self, req: SetDpms, _slf: &Rc<Self>) -> Result<(), Self::Error> {
|
||||
self.client
|
||||
.state
|
||||
.set_connectors_active(req.active != 0)
|
||||
.set_dpms_active(req.active != 0)
|
||||
.map_err(JayCompositorError::SetDpms)?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue