[PATCH wayland-protocols] xdg-output: add a transform example for the logical size

Simon Ser contact at emersion.fr
Fri May 18 20:40:19 UTC 2018

Signed-off-by: Simon Ser <contact at emersion.fr>

I believe it's easy to understand that transformations are not applied to
the logical size.

 unstable/xdg-output/xdg-output-unstable-v1.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/unstable/xdg-output/xdg-output-unstable-v1.xml b/unstable/xdg-output/xdg-output-unstable-v1.xml
index bd9a8a8..320c0a0 100644
--- a/unstable/xdg-output/xdg-output-unstable-v1.xml
+++ b/unstable/xdg-output/xdg-output-unstable-v1.xml
@@ -135,6 +135,9 @@
 	- A compositor using a fractional scale of 1.5 will advertise a
 	  logical size to 2560×1620.
+	For example, for a wl_output mode 1920×1080 and a 90 degree rotation, the
+	compositor will advertise a logical size of 1080x1920.
 	The logical_size event is sent after creating an xdg_output
 	(see xdg_output_manager.get_xdg_output) and whenever the logical
 	size of the output changes, either as a result of a change in the

More information about the wayland-devel mailing list