[Wayland-bugs] [Bug 104389] Output transforms 90 and 270 are inverted
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 11 15:51:51 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104389
--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
>From the spec: "This describes the transform that a compositor will apply to a
surface to compensate for the rotation or mirroring of an output device."
I always get confused whether you rotate the monitor or the surface. So if
surface is rotated 90 degrees counter-clockwise, it means the monitor is
rotated 90 degrees clockwise. I tried with Weston and you seem to be right:
wl_output::transform in weston describes the monitor rotation, not surface
rotation.
Because weston.ini is documented as 90 being clockwise rotation of the image,
not the monitor, it matches the current Weston behaviour. We'd need to invert
the rotation read from weston.ini for sending to clients, and also invert the
image rotations we do in Weston and weston clients... right?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180111/f4ba4bd2/attachment.html>
More information about the wayland-bugs
mailing list