On Wayland the standard wl_output::transform enum already has bits for flipped transform (that's a reflection on one middle axis).
On X11 we can support this via randr transformation matrices too.
The API should be changed by just using the Wayland enum instead of our Rotation enum. That is the most canonical approach with Wayland being the future standard.
On Wayland the standard wl_output::transform enum already has bits for flipped transform (that's a reflection on one middle axis).
On X11 we can support this via randr transformation matrices too.
The API should be changed by just using the Wayland enum instead of our Rotation enum. That is the most canonical approach with Wayland being the future standard.