From 423d5d1054e53945741d299ce1e56035ad5861c5 Mon Sep 17 00:00:00 2001 From: Gwen Lg Date: Tue, 21 Oct 2025 00:46:51 +0200 Subject: [PATCH] enable ovelap variable on features --- src/app.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(),