summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2015-02-27 18:35:45 +0800
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-02-27 14:59:11 +0200
commitda6ecd0cc52a691618e43f1783bc73def425a889 (patch)
tree668b69dd4d612da6272b0001d77afe966073db5d /protocol
parent14f330c6198f1ce4f0055804f37ff44e3c11b5a4 (diff)
xdg-shell: Send an error when the client uses the not-topmost popup
Either in destroy or get_xdg_popup. [jadahl: Verify that the new popup is the top most when mapping instead of creating. Some renaming.] Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/xdg-shell.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 4414d46c..82ff9175 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -398,6 +398,13 @@
xdg_popup surfaces are always transient for another surface.
</description>
+ <enum name="error">
+ <description summary="xdg_popup error values">
+ 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"/>
+ </enum>
+
<request name="destroy" type="destructor">
<description summary="remove xdg_surface interface">
The xdg_surface interface is removed from the wl_surface object