Move set_dynamic_cast_target() stub closer to the other ones

This commit is contained in:
Ivan Molodetskikh
2026-01-15 13:14:12 +03:00
parent 849788bb28
commit dd93c39ed0
+3 -3
View File
@@ -2024,9 +2024,6 @@ impl State {
self.niri.queue_redraw_all(); self.niri.queue_redraw_all();
} }
#[cfg(not(feature = "xdp-gnome-screencast"))]
pub fn set_dynamic_cast_target(&mut self, _target: CastTarget) {}
#[cfg(feature = "dbus")] #[cfg(feature = "dbus")]
pub fn on_screen_shot_msg( pub fn on_screen_shot_msg(
&mut self, &mut self,
@@ -5083,6 +5080,9 @@ impl Niri {
Ok((sync, damages)) Ok((sync, damages))
} }
#[cfg(not(feature = "xdp-gnome-screencast"))]
pub fn set_dynamic_cast_target(&mut self, _target: CastTarget) {}
#[cfg(not(feature = "xdp-gnome-screencast"))] #[cfg(not(feature = "xdp-gnome-screencast"))]
pub fn stop_casts_for_target(&mut self, _target: CastTarget) {} pub fn stop_casts_for_target(&mut self, _target: CastTarget) {}