pub fn migrate_legacy_minimize(root: &mut LayoutNode) -> usizeExpand description
Migrate the pre-display-mode minimize fields to the minimized flag. This is
the only place it happens: srv runs it on every tree it loads at bootstrap
(heal_loaded_layout) and before every intent, so the window is never given
a tree that carries them. Returns how many fields it migrated (0 for a
current tree).