aboutsummaryrefslogtreecommitdiff
path: root/protocol/wlr-layer-shell-unstable-v1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/wlr-layer-shell-unstable-v1.xml')
-rw-r--r--protocol/wlr-layer-shell-unstable-v1.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/protocol/wlr-layer-shell-unstable-v1.xml b/protocol/wlr-layer-shell-unstable-v1.xml
index d6de59ab..b5cb3d3a 100644
--- a/protocol/wlr-layer-shell-unstable-v1.xml
+++ b/protocol/wlr-layer-shell-unstable-v1.xml
@@ -237,6 +237,16 @@
<arg name="height" type="uint"/>
</event>
+ <event name="closed">
+ <description summary="surface should be closed">
+ The closed event is sent by the compositor when the surface will no
+ longer be shown. The output may have been destroyed or the user may have
+ asked for it to be removed. Further changes to the surface will be ignored.
+ The client should destroy the resource after receiving this event, and
+ create a new surface if they so choose.
+ </description>
+ </event>
+
<enum name="error">
<entry name="invalid_surface_state" value="0" summary="provided surface state is invalid"/>
<entry name="invalid_size" value="1" summary="size is invalid"/>