summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-02-27 18:37:41 +0800
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-02-27 14:59:18 +0200
commit24185e2561d8d31bdc8176f7c1844bc685ce0252 (patch)
treee9f6ac11abf619a76fdd9a7fcc0ac935f9167d1a /protocol
parentda6ecd0cc52a691618e43f1783bc73def425a889 (diff)
downloadweston-24185e2561d8d31bdc8176f7c1844bc685ce0252.tar.gz
xdg-shell: Add invalid_parent error to xdg_popup
Send an invalid_parent error when the client tries to create a popup with a paren that is neither a xdg_surface nor a xdg_popup. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/xdg-shell.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 82ff9175..fbf37231 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -403,6 +403,7 @@
These errors can be emitted in response to xdg_popup requests.
</description>
<entry name="not_the_topmost_popup" value="0" summary="The client tried to map or destroy a non-topmost popup"/>
+ <entry name="invalid_parent" value="1" summary="The client specified an invalid parent surface"/>
</enum>
<request name="destroy" type="destructor">