diff --git a/src/state.rs b/src/state.rs index 1a7de6fc..2b000da3 100644 --- a/src/state.rs +++ b/src/state.rs @@ -12,7 +12,7 @@ use crate::{ shell::{grabs::SeatMoveGrabState, CosmicSurface, SeatExt, Shell}, utils::prelude::OutputExt, wayland::{ - handlers::screencopy::SessionHolder, + handlers::{data_device::get_dnd_icon, screencopy::SessionHolder}, protocols::{ a11y::A11yState, atspi::AtspiState, @@ -1048,6 +1048,16 @@ impl Common { } } } + + if let Some(icon) = get_dnd_icon(seat) { + send_frames_surface_tree( + &icon.surface, + output, + time, + Some(Duration::ZERO), + should_send, + ) + } } shell