Skip to content

Commit ddc23fc

Browse files
ids1024Drakulix
authored andcommitted
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.
1 parent fde5b9a commit ddc23fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/state.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,10 @@ impl Common {
756756
}
757757
}
758758
}
759+
760+
if let Some(icon) = get_dnd_icon(seat) {
761+
with_surfaces_surface_tree(&icon.surface, processor);
762+
}
759763
}
760764

761765
// sticky window

0 commit comments

Comments
 (0)