Separate presentation facts from surface eligibility policy

This commit is contained in:
Samuel Onoja committed 2026-10-02 08:16:00 +01:00
1 parent aecf54bc76
commit 96b0a9d097
10 files changed
+88 -67

No files matched your search

+2 -1
View File
@@ -109,6 +109,7 @@ impl Ferese {
}
pub fn send_cursor_frame(&self, output: &Output) {
let eligible = self.callback_outputs();
let CursorImageStatus::Surface(surface) = &self.cursor_status else {
return;
};
@@ -120,7 +121,7 @@ impl Ferese {
}
send_frames_surface_tree(surface, output, self.start_time.elapsed(), None, |surface, _| {
self.display_presentation.callback_output(&surface.into())
eligible.get(&surface.into()).cloned()
});
}