diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-24 18:00:01 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-27 18:50:32 -0400 |
commit | d1c0e6fe2c21b4c7f651a82fb7342b54a4989c39 (patch) | |
tree | 2267e9a27e454f09c3145ddbffaa1ec91de9b556 /protocol | |
parent | b73c4f48c10ae79a33d1611fb641d22b8b619c39 (diff) |
Add layer_surface.close
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wlr-layer-shell-unstable-v1.xml | 10 |
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"/> |