summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocol/wayland.xml4
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