diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-08-21 12:42:50 +0300 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-10-01 11:50:48 +0300 |
commit | 96fdcfaec7c6617a77cd2d00ffc02b4476575d28 (patch) | |
tree | 60d5d5667fdfcb999d347731c34040a33f0e70fc | |
parent | 58743c29f8a766657affbf6c277ab108b0385e08 (diff) |
protocol: wl_subcompositor.get_subsurface gives a role
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>
-rw-r--r-- | protocol/wayland.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 71293dd..ddf94a3 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1944,9 +1944,9 @@ 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" |