aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2018-05-18 16:40:19 -0400
committerJonas Ådahl <jadahl@gmail.com>2018-07-16 20:58:02 +0200
commit3f282987d6e5cfd8d643886c5165d8a35141912a (patch)
tree1d5f8de2f863e8f1075f64a2143bd4b771f0bfe6
parent65cc1094f79f0ce59f5d7827422993e5417f8300 (diff)
xdg-output: add a transform example for the logical size
Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r--unstable/xdg-output/xdg-output-unstable-v1.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/unstable/xdg-output/xdg-output-unstable-v1.xml b/unstable/xdg-output/xdg-output-unstable-v1.xml
index bd9a8a8..ccbfe1c 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