Send frame callback for dnd icon surfaces

`org.gnome.gitlab.YaLTeR.Identity` is a good way to test animated dnd
surfaces.
This commit is contained in:
Ian Douglas Scott 2025-06-06 13:35:58 -07:00 committed by Victoria Brekenfeld
parent b823dd4247
commit fde5b9aa91

View file

@ -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