cosmic_output_management_unstable_v1 ↗
Copyright
Copyright © 2024 Victoria Brekenfeld 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 (including the next paragraph) 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.
- zcosmic_output_manager_v1 — Output configuration manager
- zcosmic_output_head_v1 — Output extension object
- zcosmic_output_configuration_v1 — Output configuration extension object
- zcosmic_output_configuration_head_v1 — Output configuration head extension object
extension protocol to wlr-output-management
This protocol serves as an extension to wlr-output-management.
It primarily adds explicit output mirroring, while upstream is figuring out how to best support that.
It was designed against version 4 of wlr-output-management, but tries it's best to be forward compatible.
cosmic_output_management_unstable_v1
zcosmic_output_manager_v1
- error
- get_head — Get a zcosmic_output_head_v1 for an existing zwlr_output_head_v1
- get_configuration — Get a zcosmic_output_configuration_v1 for an existing zwlr_output_configuration_v1
- get_configuration_head — Get a zcosmic_output_configuration_head_v1 for an existing zwlr_output_configuration_head_v1
- release — Destroy this global
- set_xwayland_primary — set head as the primary for xwayland
Output configuration manager
This interface provides extension points for wlr-output-management types.
cosmic_output_management_unstable_v1
zcosmic_output_head_v1
- scale_1000 — current scale
- mirroring — mirroring other output
- release — destroy the output head
- adaptive_sync_available — is adaptive_sync available for this head
- adaptive_sync_availability
- adaptive_sync_ext — current adaptive_sync state
- adaptive_sync_state_ext
- xwayland_primary — is this head configured as the primary for xwayland
Output extension object
Extension to zwlr_output_head_v1.
Adds additional read-only properties.
Properties sent via this interface are applied atomically via the wlr_output_manager.done event. No guarantees are made regarding the order in which properties are sent.
cosmic_output_management_unstable_v1
zcosmic_output_configuration_v1
- error
- mirror_head — enable and configure a head to mirror another head
- finished — the configuration was used
- release — destroy the output configuration
Output configuration extension object
Extension to zwlr_output_configuration_v1.
Adds additional parameters to be tested/applyed via the original zwlr_output_configuration_v1.
cosmic_output_management_unstable_v1
zcosmic_output_configuration_head_v1
- set_scale_1000 — set the scale multiplied by 1000
- release — destroy the output configuration head
- set_adaptive_sync_ext — set adaptive sync state
Output configuration head extension object
Extension to zwlr_output_configuration_head_v1.
Adds additional/alternative parameters to the original zwlr_output_configuration_head_v1.
Once the original zwlr_output_configuration_head_v1 is destroyed this object will
become inert and all requests except release will be ignored.