Diffusion KWin 6bfa931f2b1d

Associate output transforms and orientations

Authored by romangg on Nov 24 2019, 11:26 AM.

Description

Associate output transforms and orientations

Summary:
We use internally Qt:ScreenOrientation for representing output transforms.

This is not ideal since the values do not map directly to Wayland transform
values, but we can make it work by using OR combinations of
Qt:ScreenOrientations.

Do this for now and see if we should not better introduce an internal enum
mapped directly.

Additionally the OR combinations need to be handled in the drm backend at
various places accordingly as well (see TODOs).

Test Plan: Compiles

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Maniphest Tasks: T11670

Differential Revision: https://phabricator.kde.org/D25505

Details

Committed
romanggNov 26 2019, 9:29 PM
Differential Revision
D25505: Associate output transforms and orientations
Parents
R108:523967b3acfd: Set transform in AbstractWaylandOutput
Branches
Unknown
Tags
Unknown