kms: Don't reload outputs for every single event

This commit is contained in:
Victoria Brekenfeld 2025-08-11 16:50:45 +02:00 committed by Victoria Brekenfeld
parent 6897f81984
commit cb2289e7b1
3 changed files with 34 additions and 60 deletions

View file

@ -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 => (),