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

Authored by davidedmundson on May 4 2017, 12:48 PM.

Description

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

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

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonMay 4 2017, 12:48 PM
Reviewer
Plasma
Differential Revision
D5697: Fix Output::geometry() when dealing with a scaled monitor
Parents
R110:4ef1c0447748: Sync wayland output scale to KScreen config
Branches
Unknown
Tags
Unknown