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
|
|
@ -279,11 +279,14 @@ fn start_compositor2(
|
|||
change: Default::default(),
|
||||
timeout: Cell::new(Duration::from_secs(10 * 60)),
|
||||
grace_period: Cell::new(Duration::from_secs(5)),
|
||||
key_press_enables_dpms: Cell::new(false),
|
||||
mouse_move_enables_dpms: Cell::new(false),
|
||||
timeout_changed: Default::default(),
|
||||
inhibitors: Default::default(),
|
||||
inhibitors_changed: Default::default(),
|
||||
inhibited_idle_notifications: Default::default(),
|
||||
backend_idle: Cell::new(true),
|
||||
dpms_off_by_command: Cell::new(false),
|
||||
in_grace_period: Cell::new(false),
|
||||
},
|
||||
run_args,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue