From ddc23fcaa5ba25e21daee5ee65f95136f218a34a Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Fri, 6 Jun 2025 14:18:55 -0700 Subject: [PATCH] Set primary scanout output for dnd icon surface It can still get unthrottled frame callbacks by not having any primary scanout output, but presumably we want this. Alongside the code setting it for cursor surfaces, and dragged windows. --- src/state.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/state.rs b/src/state.rs index 2b000da3..9337a902 100644 --- a/src/state.rs +++ b/src/state.rs @@ -756,6 +756,10 @@ impl Common { } } } + + if let Some(icon) = get_dnd_icon(seat) { + with_surfaces_surface_tree(&icon.surface, processor); + } } // sticky window