diff --git a/src/app.rs b/src/app.rs index c4a69781..adcb10d0 100644 --- a/src/app.rs +++ b/src/app.rs @@ -3,7 +3,7 @@ #[cfg(all(feature = "wayland", feature = "desktop-applet"))] use cosmic::iced::{ - Limits, + Limits, Point, event::wayland::{Event as WaylandEvent, OutputEvent, OverlapNotifyEvent}, platform_specific::runtime::wayland::layer_surface::{ IcedMargin, IcedOutput, SctkLayerSurfaceSettings, @@ -20,7 +20,7 @@ use cosmic::{ cosmic_config::{self, ConfigSet}, cosmic_theme, executor, iced::{ - self, Alignment, Event, Length, Point, Rectangle, Size, Subscription, + self, Alignment, Event, Length, Rectangle, Size, Subscription, clipboard::dnd::DndAction, core::SmolStr, event, @@ -663,6 +663,7 @@ pub struct App { network_drive_input: String, #[cfg(feature = "notify")] notification_opt: Option>>, + #[cfg(all(feature = "wayland", feature = "desktop-applet"))] overlap: HashMap, pending_operation_id: u64, pending_operations: BTreeMap, @@ -2133,6 +2134,7 @@ impl Application for App { network_drive_input: String::new(), #[cfg(feature = "notify")] notification_opt: None, + #[cfg(all(feature = "wayland", feature = "desktop-applet"))] overlap: HashMap::new(), pending_operation_id: 0, pending_operations: BTreeMap::new(),