Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 1b5dc46

Browse files
committed
layer-shell: add destroy request
1 parent 06062c6 commit 1b5dc46

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

unstable/wlr-layer-shell-unstable-v1.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
THIS SOFTWARE.
2626
</copyright>
2727

28-
<interface name="zwlr_layer_shell_v1" version="2">
28+
<interface name="zwlr_layer_shell_v1" version="3">
2929
<description summary="create surfaces that are layers of the desktop">
3030
Clients can use this interface to assign the surface_layer role to
3131
wl_surfaces. Such surfaces are assigned to a "layer" of the output and
@@ -82,9 +82,19 @@
8282
<entry name="top" value="2"/>
8383
<entry name="overlay" value="3"/>
8484
</enum>
85+
86+
<!-- Version 3 additions -->
87+
88+
<request name="destroy" type="destructor" since="3">
89+
<description summary="destroy the layer_shell object">
90+
This request indicates that the client will not use the layer_shell
91+
object any more. Objects that have been created through this instance
92+
are not affected.
93+
</description>
94+
</request>
8595
</interface>
8696

87-
<interface name="zwlr_layer_surface_v1" version="2">
97+
<interface name="zwlr_layer_surface_v1" version="3">
8898
<description summary="layer metadata interface">
8999
An interface that may be implemented by a wl_surface, for surfaces that
90100
are designed to be rendered as a layer of a stacked desktop-like

0 commit comments

Comments
 (0)