A restored maximized window remembers where it came from

Fixkamo-internal
Shipped
August 26, 2026 at 8:15 AM UTC
Author
kamo
Commit
4c4528f

A snapshot written while a window was maximized used to lose what that window would return to, so a restored session's first conversation-switch dropped it in the dock even if it had been a hexhead. serializeWindows now carries preMaximize through (optional on PersistedToolWindow, since older snapshots don't have it and absence means "the dock"), and restoreWindows replays it as the two-step the store requires: minimize() first when the window should return to a hexhead, then setMaximized(id, true), which captures preMaximize from that just-set state.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing