mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
protocol: update wlr-output-management-unstable-v1 to minor version 5
This commit is contained in:
parent
31c842e5ec
commit
00962426e4
1 changed files with 41 additions and 6 deletions
|
|
@ -39,7 +39,7 @@
|
||||||
interface version number is reset.
|
interface version number is reset.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<interface name="zwlr_output_manager_v1" version="4">
|
<interface name="zwlr_output_manager_v1" version="5">
|
||||||
<description summary="output device configuration manager">
|
<description summary="output device configuration manager">
|
||||||
This interface is a manager that allows reading and writing the current
|
This interface is a manager that allows reading and writing the current
|
||||||
output device configuration.
|
output device configuration.
|
||||||
|
|
@ -125,7 +125,7 @@
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="zwlr_output_head_v1" version="4">
|
<interface name="zwlr_output_head_v1" version="5">
|
||||||
<description summary="output device">
|
<description summary="output device">
|
||||||
A head is an output device. The difference between a wl_output object and
|
A head is an output device. The difference between a wl_output object and
|
||||||
a head is that heads are advertised even if they are turned off. A head
|
a head is that heads are advertised even if they are turned off. A head
|
||||||
|
|
@ -140,6 +140,11 @@
|
||||||
Properties sent via this interface are applied atomically via the
|
Properties sent via this interface are applied atomically via the
|
||||||
wlr_output_manager.done event. No guarantees are made regarding the order
|
wlr_output_manager.done event. No guarantees are made regarding the order
|
||||||
in which properties are sent.
|
in which properties are sent.
|
||||||
|
|
||||||
|
The viewport indicates the logical size taken by the output in the global
|
||||||
|
compositor space. If the viewport aspect ratio doesn't match the current
|
||||||
|
mode aspect ratio, the compositor should letter-box the output with black
|
||||||
|
borders.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<event name="name">
|
<event name="name">
|
||||||
|
|
@ -225,7 +230,7 @@
|
||||||
|
|
||||||
<event name="position">
|
<event name="position">
|
||||||
<description summary="current position">
|
<description summary="current position">
|
||||||
This events describes the position of the head in the global compositor
|
This event describes the position of the head in the global compositor
|
||||||
space. It is only sent if the output is enabled.
|
space. It is only sent if the output is enabled.
|
||||||
</description>
|
</description>
|
||||||
<arg name="x" type="int"
|
<arg name="x" type="int"
|
||||||
|
|
@ -246,6 +251,9 @@
|
||||||
<description summary="current scale">
|
<description summary="current scale">
|
||||||
This events describes the scale of the head in the global compositor
|
This events describes the scale of the head in the global compositor
|
||||||
space. It is only sent if the output is enabled.
|
space. It is only sent if the output is enabled.
|
||||||
|
|
||||||
|
Starting from version 5, this event is deprecated: the viewport event
|
||||||
|
should be used instead.
|
||||||
</description>
|
</description>
|
||||||
<arg name="scale" type="fixed"/>
|
<arg name="scale" type="fixed"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
@ -354,9 +362,20 @@
|
||||||
</description>
|
</description>
|
||||||
<arg name="state" type="uint" enum="adaptive_sync_state"/>
|
<arg name="state" type="uint" enum="adaptive_sync_state"/>
|
||||||
</event>
|
</event>
|
||||||
|
|
||||||
|
<!-- Version 5 additions -->
|
||||||
|
|
||||||
|
<event name="viewport" since="5">
|
||||||
|
<description summary="head viewport">
|
||||||
|
This event describes the size of the head in the global compositor
|
||||||
|
space. It is only sent if the output is enabled.
|
||||||
|
</description>
|
||||||
|
<arg name="width" type="int" summary="logical width"/>
|
||||||
|
<arg name="height" type="int" summary="logical height"/>
|
||||||
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="zwlr_output_mode_v1" version="3">
|
<interface name="zwlr_output_mode_v1" version="5">
|
||||||
<description summary="output mode">
|
<description summary="output mode">
|
||||||
This object describes an output mode.
|
This object describes an output mode.
|
||||||
|
|
||||||
|
|
@ -411,7 +430,7 @@
|
||||||
</request>
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="zwlr_output_configuration_v1" version="4">
|
<interface name="zwlr_output_configuration_v1" version="5">
|
||||||
<description summary="output configuration">
|
<description summary="output configuration">
|
||||||
This object is used by the client to describe a full output configuration.
|
This object is used by the client to describe a full output configuration.
|
||||||
|
|
||||||
|
|
@ -529,7 +548,7 @@
|
||||||
</request>
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
<interface name="zwlr_output_configuration_head_v1" version="4">
|
<interface name="zwlr_output_configuration_head_v1" version="5">
|
||||||
<description summary="head configuration">
|
<description summary="head configuration">
|
||||||
This object is used by the client to update a single head's configuration.
|
This object is used by the client to update a single head's configuration.
|
||||||
|
|
||||||
|
|
@ -544,6 +563,7 @@
|
||||||
<entry name="invalid_scale" value="5" summary="scale negative or zero"/>
|
<entry name="invalid_scale" value="5" summary="scale negative or zero"/>
|
||||||
<entry name="invalid_adaptive_sync_state" value="6" since="4"
|
<entry name="invalid_adaptive_sync_state" value="6" since="4"
|
||||||
summary="invalid enum value used in the set_adaptive_sync request"/>
|
summary="invalid enum value used in the set_adaptive_sync request"/>
|
||||||
|
<entry name="invalid_viewport" value="7" summary="viewport negative or zero"/>
|
||||||
</enum>
|
</enum>
|
||||||
|
|
||||||
<request name="set_mode">
|
<request name="set_mode">
|
||||||
|
|
@ -584,6 +604,9 @@
|
||||||
<request name="set_scale">
|
<request name="set_scale">
|
||||||
<description summary="set the scale">
|
<description summary="set the scale">
|
||||||
This request sets the head's scale.
|
This request sets the head's scale.
|
||||||
|
|
||||||
|
Starting from version 5, this request is deprecated: clients should use
|
||||||
|
set_viewport instead.
|
||||||
</description>
|
</description>
|
||||||
<arg name="scale" type="fixed"/>
|
<arg name="scale" type="fixed"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
@ -597,5 +620,17 @@
|
||||||
</description>
|
</description>
|
||||||
<arg name="state" type="uint" enum="zwlr_output_head_v1.adaptive_sync_state"/>
|
<arg name="state" type="uint" enum="zwlr_output_head_v1.adaptive_sync_state"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
||||||
|
<!-- Version 5 additions -->
|
||||||
|
|
||||||
|
<request name="set_viewport" since="5">
|
||||||
|
<description summary="set the viewport">
|
||||||
|
This request sets the head's viewport.
|
||||||
|
|
||||||
|
This overrides the set_scale request, if any was sent.
|
||||||
|
</description>
|
||||||
|
<arg name="width" type="int" summary="logical width"/>
|
||||||
|
<arg name="height" type="int" summary="logical height"/>
|
||||||
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
</protocol>
|
</protocol>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue