mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Update Smithay and fix winit presentation time
This commit is contained in:
+2
-1
@@ -24,8 +24,9 @@ impl FrameClock {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn refresh_interval_ns(&self) -> Option<NonZeroU64> {
|
||||
pub fn refresh_interval(&self) -> Option<Duration> {
|
||||
self.refresh_interval_ns
|
||||
.map(|r| Duration::from_nanos(r.get()))
|
||||
}
|
||||
|
||||
pub fn presented(&mut self, presentation_time: Duration) {
|
||||
|
||||
Reference in New Issue
Block a user