maybe_update_max_level()
set_max_level()
This way the caller can choose their own precondition. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1003