Repository navigation
BoxedIn 0.7.0
Put a new window in its tile before the layout animation starts
A new window showed at the size its app chose until the animation had
captured the windows, about 106 ms on this Mac, and then jumped to its
tile. Measured by polling the window list every 2 ms.
- A window that appears gets its frame at once, with screen updates
paused until it has both size and position. It reaches its tile about
30 to 40 ms after it shows, inside macOS's own open animation. - One new window stays a real window above the animation cover, as a
dragged window does, so it needs no picture. - The ScreenCaptureKit window list is fetched half a second after each
animation, and used when it still has every moving window at its
current frame. The backdrop is captured at standard resolution; it
shows only in the gaps. The capture went from about 140 ms to 97 ms.
BOXEDIN_TIMING=1 prints the capture times. The test host's term
command opens a terminal-like window.