protocol: mention protocol error name in wl_subcompositor.get_subsurface

Let's be explicit here.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-09-05 09:11:18 +02:00
parent 985ab55d59
commit c2c6ef9cbe

View file

@ -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