From c2c6ef9cbe7177ccbfd06d5da3a97da27d0b4368 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 5 Sep 2022 09:11:18 +0200 Subject: [PATCH] protocol: mention protocol error name in wl_subcompositor.get_subsurface Let's be explicit here. Signed-off-by: Simon Ser --- protocol/wayland.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 10781cf..a633bcd 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -2870,8 +2870,8 @@ plain wl_surface into a sub-surface. The to-be sub-surface must not already have another role, and it - must not have an existing wl_subsurface object. Otherwise a protocol - error is raised. + must not have an existing wl_subsurface object. Otherwise the + bad_surface protocol error is raised. Adding sub-surfaces to a parent is a double-buffered operation on the parent (see wl_surface.commit). The effect of adding a sub-surface -- 2.7.4