Skip to main content

Module desktop

Module desktop 

Source

Structs§

DesktopInfo
A read-only snapshot in physical virtual-screen pixels. Gaps between monitors are included in bounds, but are never usable grid cells.
IconGrid
One monitor’s icon grid. origin is the first usable icon-position anchor, not the bitmap or label corner. Cell size includes icon/label spacing. An unavailable origin has zero rows/columns and cannot be used for snapping.

Functions§

resolve_grid_targets
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.