diff --git a/src/niri.rs b/src/niri.rs index b05afd21..0432a8c4 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -5295,6 +5295,10 @@ impl Niri { } pub fn send_frame_callbacks_on_fallback_timer(&mut self) { + if !self.monitors_active || self.output_state.is_empty() { + return; + } + let _span = tracy_client::span!("Niri::send_frame_callbacks_on_fallback_timer"); // Make up a bogus output; we don't care about it here anyway, just the throttling timer.