[layouts] use focus in tree_manager