input: Handle lid-switch and disable/enable built-in display
This commit is contained in:
parent
f2fc1e9480
commit
7ccfd7381e
2 changed files with 39 additions and 6 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue