Revert "Move set_dynamic_cast_target() stub closer to the other ones"
Browse files at this commit87e2dd0361172a48cb3ac8e5b3f6f701c758700dParent: dd93c391 changed file +3 -3
- src/niri.rs +3 -3
src/niri.rsmodified+3 -3
| @@ -2024,6 +2024,9 @@ 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 | + | ||
| 2027 | #[cfg(feature = "dbus")] | 2030 | #[cfg(feature = "dbus")] |
| 2028 | pub fn on_screen_shot_msg( | 2031 | pub fn on_screen_shot_msg( |
| 2029 | &mut self, | 2032 | &mut self, |
| @@ -5080,9 +5083,6 @@ impl Niri { | |||
| 5080 | Ok((sync, damages)) | 5083 | Ok((sync, damages)) |
| 5081 | } | 5084 | } |
| 5082 | 5085 | ||
| 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 | ||