From 9700155edaae37bf91b55b58c1c2adf2ed142282 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Thu, 20 Oct 2022 23:31:33 +0200 Subject: [PATCH] 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 --- protocol/wayland.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 440ecd8..6702bed 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -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.