protocol: wl_subcompositor.get_subsurface gives a role
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 21 Aug 2014 09:42:50 +0000 (12:42 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 1 Oct 2014 08:50:48 +0000 (11:50 +0300)
Reword the conditions to make use of the definition of "role".

It is still forbidden to create more than one wl_subsurface for a
wl_surface at a time.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
protocol/wayland.xml

index 71293dd..ddf94a3 100644 (file)
        associate it with the given parent surface. This turns a
        plain wl_surface into a sub-surface.
 
-       The to-be sub-surface must not already have a dedicated
-       purpose, like any shell surface type, cursor image, drag icon,
-       or sub-surface. Otherwise a protocol error is raised.
+       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.
       </description>
 
       <arg name="id" type="new_id" interface="wl_subsurface"