kms: Change awkward new trait to InnerDevice

This commit is contained in:
Victoria Brekenfeld 2025-07-23 17:25:16 +02:00 committed by Victoria Brekenfeld
parent 87742c1e0c
commit 6492629f90
8 changed files with 274 additions and 251 deletions

View file

@ -31,7 +31,7 @@ fn kms_surfaces(state: &mut State) -> impl Iterator<Item = &mut Surface> {
kms_state
.drm_devices
.values_mut()
.flat_map(|device| device.surfaces.values_mut()),
.flat_map(|device| device.inner.surfaces.values_mut()),
)
} else {
None