mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
Move set_dynamic_cast_target() stub closer to the other ones
This commit is contained in:
+3
-3
@@ -2024,9 +2024,6 @@ 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,
|
||||
@@ -5083,6 +5080,9 @@ 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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user