Skip to content
  • Roman Gilg's avatar
    Associate output transforms and orientations · 6bfa931f
    Roman Gilg authored
    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
    6bfa931f