On Fri, 30 Jul 2021 23:30:38 +0100 Carsten Haitzler <ras...@rasterman.com> wrote:
> On Fri, 30 Jul 2021 16:28:02 +0000 David Deyo <dd...@tireprofiles.com> said: > > No - this is up to the compositor itself to do in its own internal ways. Far > too many abuses have happened over the years with xrandr available to any > client anywhere. While in theory a wayland compositor could create an > extension > that works like xrandr, it'd be problematic to make it general-access like > xrandr. Indeed. > > > > Hello everyone, > > > > I need to rotate my screen 90 degrees and back to normal in xwayland on an > > iMX8 running gatesgarth distro. Maybe you could explain your top-level use case for this, and the general system architecture (which relevant programs are running and what their responsibilities are)? Quite likely the solution will start by removing Xwayland from the equation, and to have the compositor you use to automatically apply that rotation when needed, but how to achieve that depends on your use case. 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. Also sounds like this might not be a normal desktop system you are working on, which means you have more options on how to design this than on normal desktop systems with arbitrary applications. Thanks, pq > > > > Does anyone know if xrandr can be coerced/modified to make rotations work? > > I’m in the middle of xserver, libX11, libxrandr and xrandr source. > > > > How would a client communicating to Xwayland as the xserver request a > > rotation? Does Xwayland listen to a unix socket and pass commands on to the > > kernel? > > > > (Thanks Hans,) > > > > -dwd > > > > David
pgpApSQdWW8TI.pgp
Description: OpenPGP digital signature