idle: add a grace period
This commit is contained in:
parent
1ad3d11616
commit
e8be15a26c
29 changed files with 405 additions and 79 deletions
|
|
@ -67,7 +67,8 @@ pub enum Action {
|
|||
dev: ConfigDrmDevice,
|
||||
},
|
||||
ConfigureIdle {
|
||||
idle: Duration,
|
||||
idle: Option<Duration>,
|
||||
grace_period: Option<Duration>,
|
||||
},
|
||||
ConfigureInput {
|
||||
input: Box<Input>,
|
||||
|
|
@ -348,6 +349,7 @@ pub struct Config {
|
|||
pub render_device: Option<DrmDeviceMatch>,
|
||||
pub inputs: Vec<Input>,
|
||||
pub idle: Option<Duration>,
|
||||
pub grace_period: Option<Duration>,
|
||||
pub explicit_sync_enabled: Option<bool>,
|
||||
pub focus_follows_mouse: bool,
|
||||
pub window_management_key: Option<ModifiedKeySym>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue