diff options
author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-30 13:07:26 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-30 13:33:15 +0200 |
commit | 45c0877e3433f2b057f9125a8bc735057e088e6c (patch) | |
tree | 8b09ea2ecea1aebbd4bc6268311b8da9cdbfab9e /protocol | |
parent | d2ca220fdad4ed9e63b5d02ae142b8ec076bebe9 (diff) |
layer-shell: upgrade to v3, implement destructor
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wlr-layer-shell-unstable-v1.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/protocol/wlr-layer-shell-unstable-v1.xml b/protocol/wlr-layer-shell-unstable-v1.xml index adc6a176..fa67001d 100644 --- a/protocol/wlr-layer-shell-unstable-v1.xml +++ b/protocol/wlr-layer-shell-unstable-v1.xml @@ -25,7 +25,7 @@ THIS SOFTWARE. </copyright> - <interface name="zwlr_layer_shell_v1" version="2"> + <interface name="zwlr_layer_shell_v1" version="3"> <description summary="create surfaces that are layers of the desktop"> Clients can use this interface to assign the surface_layer role to wl_surfaces. Such surfaces are assigned to a "layer" of the output and @@ -82,9 +82,19 @@ <entry name="top" value="2"/> <entry name="overlay" value="3"/> </enum> + + <!-- Version 3 additions --> + + <request name="destroy" type="destructor" since="3"> + <description summary="destroy the layer_shell object"> + This request indicates that the client will not use the layer_shell + object any more. Objects that have been created through this instance + are not affected. + </description> + </request> </interface> - <interface name="zwlr_layer_surface_v1" version="2"> + <interface name="zwlr_layer_surface_v1" version="3"> <description summary="layer metadata interface"> An interface that may be implemented by a wl_surface, for surfaces that are designed to be rendered as a layer of a stacked desktop-like @@ -295,7 +305,7 @@ Layer is double-buffered, see wl_surface.commit. </description> - <arg name="layer" type="uint" enum="layer" summary="layer to move this surface to"/> + <arg name="layer" type="uint" enum="zwlr_layer_shell_v1.layer" summary="layer to move this surface to"/> </request> </interface> </protocol> |