15 lines
381 B
Rust
15 lines
381 B
Rust
use smithay_client_toolkit::{
|
|
output::OutputState,
|
|
registry::{ProvidesRegistryState, RegistryState},
|
|
registry_handlers,
|
|
seat::SeatState,
|
|
};
|
|
|
|
use crate::simple_layer::SimpleLayer;
|
|
|
|
impl ProvidesRegistryState for SimpleLayer {
|
|
fn registry(&mut self) -> &mut RegistryState {
|
|
&mut self.registry_state
|
|
}
|
|
registry_handlers![OutputState, SeatState];
|
|
}
|