summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-26 13:26:34 +0100
committerSimon Ser <contact@emersion.fr>2023-02-07 14:33:09 +0100
commitd443241635cf86e4fdb91a781ec702bc8828d703 (patch)
treea681085fc1c415b19ade9d9653518ea28e555525
parent9afab91d212164b56c7eefd234c798fc59ae3fd8 (diff)
downloadwayland-d443241635cf86e4fdb91a781ec702bc8828d703.tar.gz
protocol: add wl_surface.preferred_buffer_transform
Same as the new wl_surface.preferred_buffer_scale event but for transform. No version bump needed since the previous commit did that. Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r--protocol/wayland.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index c0816f6..c8ba3ae 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1810,6 +1810,19 @@
</description>
<arg name="factor" type="int" summary="preferred scaling factor"/>
</event>
+
+ <event name="preferred_buffer_transform" since="6">
+ <description summary="preferred buffer transform for the surface">
+ This event indicates the preferred buffer transform for this surface.
+ It is sent whenever the compositor's preference changes.
+
+ 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.
+ </description>
+ <arg name="transform" type="uint" enum="wl_output.transform"
+ summary="preferred transform"/>
+ </event>
</interface>
<interface name="wl_seat" version="8">