diff --git a/src/surface/action.rs b/src/surface/action.rs index 23a72e68..1a647293 100644 --- a/src/surface/action.rs +++ b/src/surface/action.rs @@ -45,6 +45,7 @@ pub struct LiveSettings { pub blur: Option, } +#[cfg(all(feature = "wayland", target_os = "linux", feature = "winit"))] type BoxedView = Option< Box< dyn Fn(&App) -> crate::Element<'_, crate::Action<::Message>>