How SkyLightWindow works
mainSkyLightWindow leverages macOS's private SkyLight framework to achieve system-level window positioning. It follows these steps:
- Creates a special space at the highest system level.
- Moves the target window to this space.
- Ensures the window remains visible above all other content (including fullscreen apps).
The framework manages the connection to the SkyLight service, space management, window delegation, and positioning.