aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-23 11:11:41 +0200
committerGitHub <noreply@github.com>2018-04-23 11:11:41 +0200
commitda944cccb3b118f01a5e8a5406c328ddb75822d7 (patch)
treea7f9b3ba19a9b3b9a1b075284df6e98f5ba3642c /protocol
parent12bf39a715b23b572e3ce213ee1aef8c32ebbc13 (diff)
parent625bc7b8b3356a1108a7fd00513d4c164a16ba16 (diff)
Merge pull request #887 from swaywm/layer-optional-output
Update layer shell with optional wl_output
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wlr-layer-shell-unstable-v1.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocol/wlr-layer-shell-unstable-v1.xml b/protocol/wlr-layer-shell-unstable-v1.xml
index 3181c0bb..6a5d5d35 100644
--- a/protocol/wlr-layer-shell-unstable-v1.xml
+++ b/protocol/wlr-layer-shell-unstable-v1.xml
@@ -47,12 +47,16 @@
or manipulate a buffer prior to the first layer_surface.configure call
must also be treated as errors.
+ You may pass NULL for output to allow the compositor to decide which
+ output to use. Generally this will be the one that the user most
+ recently interacted with.
+
Clients can specify a namespace that defines the purpose of the layer
surface.
</description>
<arg name="id" type="new_id" interface="zwlr_layer_surface_v1"/>
<arg name="surface" type="object" interface="wl_surface"/>
- <arg name="output" type="object" interface="wl_output"/>
+ <arg name="output" type="object" interface="wl_output" allow-null="true"/>
<arg name="layer" type="uint" enum="layer" summary="layer to add this surface to"/>
<arg name="namespace" type="string" summary="namespace for the layer surface"/>
</request>