input: Handle lid-switch and disable/enable built-in display

This commit is contained in:
Victoria Brekenfeld 2025-07-29 15:58:07 +02:00 committed by Victoria Brekenfeld
parent f2fc1e9480
commit 7ccfd7381e
2 changed files with 39 additions and 6 deletions

View file

@ -400,7 +400,7 @@ impl BackendData {
}
impl<'a> LockedBackend<'a> {
fn all_outputs(&self) -> Vec<Output> {
pub fn all_outputs(&self) -> Vec<Output> {
match self {
LockedBackend::Kms(state) => state.all_outputs(),
LockedBackend::X11(state) => state.all_outputs(),