Skip to main content

snapshot_session

Function snapshot_session 

Source
pub(crate) fn snapshot_session(store: &Store, for_quit: bool) -> Option<Value>
Expand description

The whole session: every live window’s workspace and placement, the main window’s tabs also at the top level. None when no window has anything to capture. for_quit marks it as a quit’s, which the closes that follow keep.