From 00962426e424bd0e6cc9b5015df6ec0e2b5d2b26 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 6 Mar 2024 11:47:23 +0100 Subject: [PATCH] protocol: update wlr-output-management-unstable-v1 to minor version 5 --- .../wlr-output-management-unstable-v1.xml | 47 ++++++++++++++++--- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/protocol/wlr-output-management-unstable-v1.xml b/protocol/wlr-output-management-unstable-v1.xml index 411e2f049..d42ceaef8 100644 --- a/protocol/wlr-output-management-unstable-v1.xml +++ b/protocol/wlr-output-management-unstable-v1.xml @@ -39,7 +39,7 @@ interface version number is reset. - + This interface is a manager that allows reading and writing the current output device configuration. @@ -125,7 +125,7 @@ - + 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 @@ -140,6 +140,11 @@ 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. + + 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. @@ -225,7 +230,7 @@ - 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. This events describes the scale of the head in the global compositor 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. @@ -354,9 +362,20 @@ + + + + + + This event describes the size of the head in the global compositor + space. It is only sent if the output is enabled. + + + + - + This object describes an output mode. @@ -411,7 +430,7 @@ - + This object is used by the client to describe a full output configuration. @@ -529,7 +548,7 @@ - + This object is used by the client to update a single head's configuration. @@ -544,6 +563,7 @@ + @@ -584,6 +604,9 @@ This request sets the head's scale. + + Starting from version 5, this request is deprecated: clients should use + set_viewport instead. @@ -597,5 +620,17 @@ + + + + + + This request sets the head's viewport. + + This overrides the set_scale request, if any was sent. + + + +