diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-09 18:36:01 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-09 18:36:01 +0400 |
| commit | 4ea90140d4d32899d5b994f31bd3ae246cdfb885 (patch) | |
| tree | 84e8edd55f3b769282cae96adbd568cd60d7dfa1 | |
| parent | acd33653b3d908b1c97e2247048af50613e4a77d (diff) | |
| download | niri-4ea90140d4d32899d5b994f31bd3ae246cdfb885.tar.gz niri-4ea90140d4d32899d5b994f31bd3ae246cdfb885.tar.bz2 niri-4ea90140d4d32899d5b994f31bd3ae246cdfb885.zip | |
Fix warning on --no-default-features
| -rw-r--r-- | src/niri.rs | 2 |
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); }); } |
