layer_shell: set layer of existing surface

This commit is contained in:
Timidger 2019-10-03 16:06:46 -04:00 committed by Drew DeVault
parent 6bb7639a0f
commit 1724261910
3 changed files with 29 additions and 4 deletions

View file

@ -25,7 +25,7 @@
THIS SOFTWARE.
</copyright>
<interface name="zwlr_layer_shell_v1" version="1">
<interface name="zwlr_layer_shell_v1" version="2">
<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
@ -84,7 +84,7 @@
</enum>
</interface>
<interface name="zwlr_layer_surface_v1" version="1">
<interface name="zwlr_layer_surface_v1" version="2">
<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
@ -231,6 +231,13 @@
</description>
</request>
<request name="set_layer" since="2">
<description summary="change the layer of the surface">
Change the layer that the surface is rendered on.
</description>
<arg name="layer" type="uint" enum="layer" summary="layer to move this surface to"/>
</request>
<event name="configure">
<description summary="suggest a surface change">
The configure event asks the client to resize its surface.