D5636: Fix KScreen KCM screen placement with scaled outputs
David Edmundson
noreply at phabricator.kde.org
Fri Apr 28 12:41:39 UTC 2017
davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
The QML part of the KCM gets the output size manually as it wants to do
all translations itself.
We need to divide the mode by the scale as wayland wants everything in
normalised global co-ordinates.
i.e a screen to the right of a 2x output with a mode of 2000 pixels,
will have an X of 1000.
TEST PLAN
Had a scaled output (set using kwin config)
Moved some about.
They appeared exactly where it should have done.
REPOSITORY
R104 KScreen
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D5636
AFFECTED FILES
kcm/src/declarative/qmloutput.cpp
To: davidedmundson, #plasma
Cc: plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170428/a46ce840/attachment.html>
More information about the Plasma-devel
mailing list