diff --git a/src/wayland/drm_syncobj/mod.rs b/src/wayland/drm_syncobj/mod.rs index a67c77e4c296..e436c9d71be5 100644 --- a/src/wayland/drm_syncobj/mod.rs +++ b/src/wayland/drm_syncobj/mod.rs @@ -42,14 +42,12 @@ pub struct DrmSyncobjCachedState { impl Cacheable for DrmSyncobjCachedState { fn commit(&mut self, _dh: &DisplayHandle) -> Self { Self { - // TODO should take acquire/release points? - acquire_point: None, - release_point: None, + acquire_point: self.acquire_point.take(), + release_point: self.release_point.take(), } } fn merge_into(self, into: &mut Self, _dh: &DisplayHandle) { - // TODO signa; release points if self.acquire_point.is_some() && self.release_point.is_some() { if let Some(release_point) = &into.release_point { if let Err(err) = release_point.signal() {