Commit eec6a66a authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Sebastian Krzyszkowiak

src: add utility function to fix rotation on wlroots v0.11+

Starting with version 0.11.0, wlroots rotates counter-clockwise, while
it rotated clockwise in previous version.

In order to keep the same behavior no matter which wlroots version is
used, this patch adds a new `phoc_utils_fix_transform()` function and
uses it for correcting rotation requests.

This makes sure we always rotate clockwise, as it was the previous
parent f5b28767
Pipeline #58842 passed with stages
in 10 minutes and 2 seconds