forge
Explore
Log in

Don't you dare go Hollow

Move set_dynamic_cast_target() stub closer to the other ones

Browse files at this commit

dd93c39ed0719c66c7777f9fe726a5d5f5ee4cffIvan MolodetskikhParent: 849788b
src/niri.rsmodified+3 -3
@@ -2024,9 +2024,6 @@ impl State {
2024 self.niri.queue_redraw_all();2024 self.niri.queue_redraw_all();
2025 }2025 }
2026 2026
2027- #[cfg(not(feature = "xdp-gnome-screencast"))]
2028- pub fn set_dynamic_cast_target(&mut self, _target: CastTarget) {}
2029-
2030 #[cfg(feature = "dbus")]2027 #[cfg(feature = "dbus")]
2031 pub fn on_screen_shot_msg(2028 pub fn on_screen_shot_msg(
2032 &mut self,2029 &mut self,
@@ -5083,6 +5080,9 @@ impl Niri {
5083 Ok((sync, damages))5080 Ok((sync, damages))
5084 }5081 }
5085 5082
5083+ #[cfg(not(feature = "xdp-gnome-screencast"))]
5084+ pub fn set_dynamic_cast_target(&mut self, _target: CastTarget) {}
5085+
5086 #[cfg(not(feature = "xdp-gnome-screencast"))]5086 #[cfg(not(feature = "xdp-gnome-screencast"))]
5087 pub fn stop_casts_for_target(&mut self, _target: CastTarget) {}5087 pub fn stop_casts_for_target(&mut self, _target: CastTarget) {}
5088 5088