Layered regions should not be allowed to be root, so let's enforce this with the type system. Remove the public function add_root_uiobject() and merge this functionality into create_frame() (the overload that takes > 1 parameter) to be renamed create_root_frame().
Layered regions should not be allowed to be root, so let's enforce this with the type system. Remove the public function
add_root_uiobject()
and merge this functionality intocreate_frame()
(the overload that takes > 1 parameter) to be renamedcreate_root_frame()
.