river_layer_shell_v1 ↗
Copyright
SPDX-FileCopyrightText: © 2025 Isaac Freund SPDX-License-Identifier: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- river_layer_shell_v1 — river layer shell global interface
- river_layer_shell_output_v1 — layer shell output state
- river_layer_shell_seat_v1 — layer shell seat state
optional layer shell support
This protocol allows the river-window-management-v1 window manager to support the wlr-layer-shell-unstable-v1 protocol.
The key words "must", "must not", "required", "shall", "shall not", "should", "should not", "recommended", "may", and "optional" in this document are to be interpreted as described in IETF RFC 2119.
river_layer_shell_v1
river_layer_shell_v1
- error
- destroy — destroy the river_layer_shell_v1 object
- get_output — get layer shell output state
- get_seat — get layer shell seat state
river layer shell global interface
This global interface should only be advertised to the client if the river_window_manager_v1 global is also advertised. Binding this interface indicates that the window manager supports layer shell.
If the window manager does not bind this interface, the compositor should not allow clients to map layer surfaces. This can be achieved by closing layer surfaces immediately.
river_layer_shell_v1
river_layer_shell_output_v1
- destroy — destroy the object
- non_exclusive_area — area left after subtracting exclusive zones
- set_default — Set default output for layer surfaces
layer shell output state
The lifetime of this object is tied to the corresponding river_output_v1. This object is made inert when the river_output_v1.removed event is sent and should be destroyed.
river_layer_shell_v1
river_layer_shell_seat_v1
- destroy — destroy the object
- focus_exclusive — layer shell surface has exclusive focus
- focus_non_exclusive — layer shell surface wants non-exclusive focus
- focus_none — no layer shell surface has focus
layer shell seat state
The lifetime of this object is tied to the corresponding river_seat_v1. This object is made inert when the river_seat_v1.removed event is sent and should be destroyed.