Skip to main content

resolve_grid_targets

Function resolve_grid_targets 

Source
pub fn resolve_grid_targets(
    specs: &mut [IconAnimationSpec],
    icons: &[IconSnapshot],
    desktop: &DesktopInfo,
) -> Result<(), DesktopError>
Expand description

Resolve all destinations atomically in spec order, using nearest available cells on the target’s monitor (nearest work area for off-screen targets). Stationary footprints remain reserved; active source cells can be reused.