From 2ca8961b9feed53274017b78a5be8d68dabb43f6 Mon Sep 17 00:00:00 2001 From: Adam Cosner Date: Wed, 20 Nov 2024 16:42:31 -0800 Subject: [PATCH] Made app::Task a winit-only feature Not exactly sure why, but the wayland feature disables cosmic::app so this is required --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index cc396144f8f..2b2c9b43b43 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,7 +22,9 @@ pub use app::{Application, ApplicationExt}; #[cfg(feature = "applet")] pub mod applet; +#[cfg(feature = "winit")] pub use app::Task; + pub mod task; pub mod config;