Merges the shape masks for any child windows into the shape mask for this.
i.e. the union of all masks for this and its children will become the new mask for this. See shape_combine_region.
This function is distinct from set_child_shapes because it includes this’s shape mask in the set of shapes to be merged.