add flag to for per-display scaling
ClosedPublic

Authored by sebas on Sep 27 2016, 2:30 AM.

Details

Summary

This adds a KScreen::Config::Feature for per-display scaling. As we plan
to introduce this with Wayland, we need to be able to check in the UI
whether this feature is supported.

This will be implemented by the backends at a later stage, but can now
already be used to work on UI changes. A relatively simple change that
I'd already like to get merged.

Test Plan

added autotests for the new flag and possible combinations

Diff Detail

Repository
R110 KScreen Library
Branch
sebas/perdisplayscalingflag
Lint
No Linters Available
Unit
No Unit Test Coverage
sebas updated this revision to Diff 6940.Sep 27 2016, 2:30 AM
sebas retitled this revision from to add flag to for per-display scaling.
sebas updated this object.
sebas edited the test plan for this revision. (Show Details)
sebas added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptSep 27 2016, 2:30 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik added inline comments.
src/config.h
68 ↗(On Diff #6940)

Output instead of Display, given that's the term we normally use?

sebas updated this revision to Diff 6966.Sep 27 2016, 9:54 PM
  • PerDisplayScaling -> PerOutputScaling
davidedmundson accepted this revision.Sep 29 2016, 10:49 AM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Sep 29 2016, 10:49 AM
This revision was automatically updated to reflect the committed changes.