Add XDG Output Protocol

Authored by davidedmundson on May 15 2018, 9:45 AM.

Description

Add XDG Output Protocol

Summary:
Done primarily for XWayland which for legacy reasons doesn't assume the
logical size of a display is pixelSize / outputScale. Meaning xwayland
windows that position themselves are wrong in a scaled environment.

It also allows the possibility for us to support fractional scaling
whilst keeping wl_output::scale as an integer.

The protocol is a bit odd as it operates via the FooManager + Foo
pattern rather than using globals like Output so I've wrapped it so it
behaves more like globals.

Test Plan: Plasma

Reviewers: romangg

Subscribers: Frameworks

Tags: Frameworks

Maniphest Tasks: T8501

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

Details

Committed
davidedmundsonMay 15 2018, 11:44 AM
Differential Revision
D12235: Add XDG Output Protocol
Parents
R127:85842fc88a79: GIT_SILENT Upgrade KF5 version to 5.47.0.
Branches
Unknown
Tags
Unknown