protocol: wl_subsurface::destroy does not remove the role

Role assigned to wl_surface cannot be removed.
Delete contradicting text from wl_subsurface::destroy documentation.

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
This commit is contained in:
Mikhail Gusarov 2022-10-20 23:31:33 +02:00 committed by Simon Ser
parent b27961e48d
commit 9700155eda

View file

@ -2961,8 +2961,7 @@
The sub-surface interface is removed from the wl_surface object
that was turned into a sub-surface with a
wl_subcompositor.get_subsurface request. The wl_surface's association
to the parent is deleted, and the wl_surface loses its role as
a sub-surface. The wl_surface is unmapped immediately.
to the parent is deleted. The wl_surface is unmapped immediately.
</description>
</request>