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]; }