On Mon, Aug 02, 2021 at 10:58:39AM +0200, Guillermo Rodriguez Garcia wrote: > Hi, Hi, > > I am asking this because I saw the following from Pekka Paalanen in another > thread: > > > [...] Can the compositor do it all on its own, does the client need to > synchronise to the orientation change, does the client need to drive > the orientation change, etc. > > In Weston I am currently controlling the orientation via transform=xxx in > the .ini file. > > Is it possible to drive this change dynamically from the client instead? It is, we have a sort-of working WIP for it, with the help of a private protocol [1]. With that there's also a simple client that can request an output rotation, interactively, as well as using an accelerometer that detects an orientation change and uses that protocol to signal it. More details could be find at [2]. Note, that is still need of a polish, but should work with regular wayland clients.
[1] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/480/diffs?commit_id=09d7a79a9a18ab48317833680d550a483a5c92b4 [2] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/480 > > BR, > > Guillermo Rodriguez Garcia > guille.rodrig...@gmail.com
signature.asc
Description: PGP signature