kms: Don't reload outputs for every single event
This commit is contained in:
parent
6897f81984
commit
cb2289e7b1
3 changed files with 34 additions and 60 deletions
|
|
@ -29,6 +29,8 @@ pub fn init(evlh: &LoopHandle<'static, State>) -> Result<Vec<RegistrationToken>>
|
|||
tracing::error!(?err, "Failed to update drm device {}.", node);
|
||||
}
|
||||
}
|
||||
state.refresh_output_config();
|
||||
|
||||
()
|
||||
}
|
||||
calloop::channel::Event::Closed => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue