aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/niri.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/niri.rs b/src/niri.rs
index c232622f..5948d7df 100644
--- a/src/niri.rs
+++ b/src/niri.rs
@@ -2182,9 +2182,9 @@ impl Niri {
// to err on the safe side.
self.send_frame_callbacks(output);
+ #[cfg(feature = "xdp-gnome-screencast")]
backend.with_primary_renderer(|renderer| {
// Render and send to PipeWire screencast streams.
- #[cfg(feature = "xdp-gnome-screencast")]
self.render_for_screen_cast(renderer, output, target_presentation_time);
});
}