aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-10-26 21:01:54 +0400
committerSimon Ser <contact@emersion.fr>2023-11-21 15:50:11 +0000
commit8a19dc19a1eee48cff9fea03dca4952bc2967d46 (patch)
tree66b6d8a08dd494d904cac43a608ddee7e493be8d /protocol
parentutil: simplify wl_fixed_from_double() (diff)
downloadwayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar.gz
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar.bz2
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar.lz
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar.xz
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.tar.zst
wayland-8a19dc19a1eee48cff9fea03dca4952bc2967d46.zip
protocol: clarify defaults with wl_compositor@v6
This should be sufficient for clients to not decide to fallback to output based logic to determine scaling/transform when compositor doesn't send any of the v6 events. Signed-off-by: Kirill Chibisov <contact@kchibisov.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index bc7865b..b4141fc 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1826,6 +1826,9 @@
This event indicates the preferred buffer scale for this surface. It is
sent whenever the compositor's preference changes.
+ Before receiving this event the preferred buffer scale for this surface
+ is 1.
+
It is intended that scaling aware clients use this event to scale their
content and use wl_surface.set_buffer_scale to indicate the scale they
have rendered with. This allows clients to supply a higher detail
@@ -1839,6 +1842,9 @@
This event indicates the preferred buffer transform for this surface.
It is sent whenever the compositor's preference changes.
+ Before receiving this event the preferred buffer transform for this
+ surface is normal.
+
It is intended that transform aware clients use this event to apply the
transform to their content and use wl_surface.set_buffer_transform to
indicate the transform they have rendered with.