chore: Update smithay

This commit is contained in:
Victoria Brekenfeld 2025-05-21 22:04:02 +02:00 committed by Victoria Brekenfeld
parent 913ed90b04
commit 4c0c61e94b
3 changed files with 13 additions and 13 deletions

View file

@ -7,12 +7,12 @@ use smithay::{
};
impl DrmSyncobjHandler for State {
fn drm_syncobj_state(&mut self) -> &mut DrmSyncobjState {
fn drm_syncobj_state(&mut self) -> Option<&mut DrmSyncobjState> {
let kms = match &mut self.backend {
BackendData::Kms(kms) => kms,
_ => unreachable!(),
};
kms.syncobj_state.as_mut().unwrap()
kms.syncobj_state.as_mut()
}
}