From d7cd1480d4c75cfdeb28b34202707bfe3595b0ea Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 1 Oct 2014 14:01:59 +0300 Subject: protocol: add role error code to xdg_shell Needed for properly reporting role violations from xdg_shell.get_xdg_surface and .get_xdg_popup. Signed-off-by: Pekka Paalanen Reviewed-by: Jasper St. Pierre Acked-by: Jason Ekstrand --- protocol/xdg-shell.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'protocol') diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml index 275837f3..776438be 100644 --- a/protocol/xdg-shell.xml +++ b/protocol/xdg-shell.xml @@ -48,6 +48,9 @@ + + + @@ -64,6 +67,9 @@ Create a shell surface for an existing surface. + This request gives the surface the role of xdg_surface. If the + surface already has another role, it raises a protocol error. + Only one shell or popup surface can be associated with a given surface. @@ -75,6 +81,9 @@ Create a popup surface for an existing surface. + This request gives the surface the role of xdg_popup. If the + surface already has another role, it raises a protocol error. + Only one shell or popup surface can be associated with a given surface. -- cgit v1.2.1