Gate display frame callbacks on shared presentation visibility

This commit is contained in:
Samuel Onoja committed 2026-10-02 07:59:41 +01:00
1 parent 6b2974d0fa
commit 2f63cae54c
5 files changed
+45 -18

No files matched your search

+3 -7
View File
@@ -119,13 +119,9 @@ impl Ferese {
return;
}
send_frames_surface_tree(
surface,
output,
self.start_time.elapsed(),
Some(Duration::ZERO),
|_, _| Some(output.clone()),
);
send_frames_surface_tree(surface, output, self.start_time.elapsed(), None, |surface, _| {
self.display_presentation.callback_output(&surface.into())
});
}
pub fn window_under_visual(&self, position: Point<f64, Logical>) -> Option<Window> {