Revert "Move set_dynamic_cast_target() stub closer to the other ones"

This reverts commit dd93c39ed0.

Why did I do this, that function is on a different type
This commit is contained in:
Ivan Molodetskikh
2026-01-15 17:29:30 +03:00
parent dd93c39ed0
commit 87e2dd0361
+3 -3
View File
@@ -2024,6 +2024,9 @@ impl State {
self.niri.queue_redraw_all();
}
#[cfg(not(feature = "xdp-gnome-screencast"))]
pub fn set_dynamic_cast_target(&mut self, _target: CastTarget) {}
#[cfg(feature = "dbus")]
pub fn on_screen_shot_msg(
&mut self,
@@ -5080,9 +5083,6 @@ impl Niri {
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"))]
pub fn stop_casts_for_target(&mut self, _target: CastTarget) {}