pub fn record(selection: &RootSelection)Expand description
Record a session’s selection so other surfaces can show it. A selection among several candidates is stored for the chosen root, and the records of the other candidates (no longer chosen) are removed; a selection without alternatives removes the chosen root’s record. Best effort: a failure only means the choice is not shown.