Fix Output::geometry() when dealing with a scaled monitor
ClosedPublic

Authored by davidedmundson on May 3 2017, 1:28 PM.

Details

Summary

When a monitor is scaled the "size" is not the same as the mode size, we
want things in global co-ordinates.

This is only relevant on Wayland, but on everything else scale is 1, so
this makes no difference.

Test Plan

Plugged in normal monitor to laptop, generator had the correct co-ordiantes
of second monitor

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.May 3 2017, 1:28 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 3 2017, 1:28 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
graesslin accepted this revision.May 3 2017, 5:59 PM
This revision is now accepted and ready to land.May 3 2017, 5:59 PM
This revision was automatically updated to reflect the committed changes.