Skip to main content

queue_source_layout_delete

Function queue_source_layout_delete 

Source
pub(crate) async fn queue_source_layout_delete(
    state: &AppState,
    source_tab_id: &str,
    block_id: &str,
) -> Result<(), String>
Expand description

Take a block that moved (tear-off, promote, redock) or was deleted (sagas::delete_block, sagas::close_pane) out of its source tab’s layout: srv’s tree, then a queued delete so a window that already shows the tab drops it too (a window that missed it would show a pane whose block is gone; INVESTIGATION_LAYOUT_DEAD_SPACE_STALE_TREE_RESURRECTION_2026_07_08.md).