Expand description
window service handler — CloseWindow. Split out of window.rs;
see that file’s dispatcher for the full method list.
Structs§
- Closing
Window 🔒 - What a session record and the closed windows keep of a closing window, read before its row is pruned.
Functions§
- close_
unshown_ 🔒workspace ws_idlost its last window (window_id, now closed).- close_
workspace 🔒 - Delete a window’s contents no window shows, every agent in it closed
gracefully first (
agent_teardown,Policy::close()): a window removed from the workspace, open or closed, or one with nothing to keep. - detach_
window 🔒 - A workspace switch closes window
window_id(user_workspace_switch): the window’s row goes, asCloseWindowdrops it, and its contents stay for the caller to keep. The host closes the OS window afterwards; that close then finds nothing left to do. Returns the contents when no other window shows them. - handle_
close_ 🔒window - store_
block_ 🔒ids - Every block in a workspace’s tabs (regular and pinned), read from the store.