mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 06:24:39 +00:00
A viewport window's builder carried its caller's rect every pass, and egui sent each change of it to the window. The caller's rect follows the window's own reports a pass late (the dock model records the OS place, a saved window reads its store), so every OS move or resize came back as a command of the place one pass old. While AppKit moved or live-resized a window the two writers set it to two places in turn, without end: the title-row drag jittered, and a live resize stretched the content with black edges. - The builder carries the place only until the window opens. - Each window keeps its known place: what its own pass last saw, or what act last commanded. A caller's place goes out only where it differs from the known place, never while a move gesture runs or the window is minimized, maximized or full screen. Placements are recorded from the known place. - A dock window is fitted to the monitors when it opens; an open one stays at the placement the model recorded. - The windows fixture sends a child the changes of its builder as commands, as eframe does, so trials see what an integration would send.