diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-05 09:11:18 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-09-21 10:17:57 +0000 |
commit | c2c6ef9cbe7177ccbfd06d5da3a97da27d0b4368 (patch) | |
tree | ccfe47b32e5f9425b1a29217328fe5a9f33f98ef | |
parent | 985ab55d59db45ea62795c76dff5949343e86b2f (diff) | |
download | wayland-c2c6ef9cbe7177ccbfd06d5da3a97da27d0b4368.tar.gz |
protocol: mention protocol error name in wl_subcompositor.get_subsurface
Let's be explicit here.
Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r-- | protocol/wayland.xml | 4 |
1 files 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 |