Update Smithay

This commit is contained in:
Ivan Molodetskikh
2024-04-09 19:06:13 +04:00
parent e448cfb0ef
commit 7e0d3d31f7
11 changed files with 32 additions and 35 deletions
+4 -2
View File
@@ -176,10 +176,12 @@ impl Winit {
.wait_for_frame_completion_before_queueing
{
let _span = tracy_client::span!("wait for completion");
res.sync.wait();
if let Err(err) = res.sync.wait() {
warn!("error waiting for frame completion: {err:?}");
}
}
self.backend.submit(Some(&damage)).unwrap();
self.backend.submit(Some(damage)).unwrap();
let mut presentation_feedbacks = niri.take_presentation_feedbacks(output, &res.states);
let mode = output.current_mode().unwrap();