You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b5dd09b
Browse filesBrowse the repository at this point in the historyBrowse files
feat(detach): hand birth_content the window's real size
Now that geometry restores a detached window's remembered size inside
open_detached's build(), DetachSpec's width/height describe only the
never-popped-before case — but all three consumers computed their docked
content's birth rect from exactly those constants, so a re-popped tab's
content sat visibly the wrong size until detach.html reported the true
hole.
Pass the built window's real logical inner size into birth_content rather
than documenting the trap: a caller can no longer use the stale value
without reaching past the one it was handed. A failed geometry query
falls back to spec's size — a stale birth rect costs one frame, refusing
to dock costs the pop-out.
0 commit comments