config: tell the config about drm devices
This commit is contained in:
parent
99fcd63438
commit
e27cf29693
23 changed files with 581 additions and 50 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use {
|
||||
super::drmdev,
|
||||
crate::{
|
||||
backend::BackendEvent,
|
||||
state::State,
|
||||
|
|
@ -23,6 +24,7 @@ impl BackendEventHandler {
|
|||
match event {
|
||||
BackendEvent::NewConnector(connector) => connector::handle(&self.state, &connector),
|
||||
BackendEvent::NewInputDevice(s) => input_device::handle(&self.state, s),
|
||||
BackendEvent::NewDrmDevice(d) => drmdev::handle(&self.state, d),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue