mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Fix refresh passed to presentation feedback
This commit is contained in:
@@ -24,6 +24,10 @@ impl FrameClock {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn refresh_interval_ns(&self) -> Option<NonZeroU64> {
|
||||
self.refresh_interval_ns
|
||||
}
|
||||
|
||||
pub fn presented(&mut self, presentation_time: Duration) {
|
||||
if presentation_time.is_zero() {
|
||||
// Not interested in these.
|
||||
|
||||
Reference in New Issue
Block a user