Commit 3a0e9562 authored by David Edmundson's avatar David Edmundson

Support kwin fractional scaling in wayland backend

Summary:
Note KScreen UI is deliberately not updated as full functionality is not
complete. However, I think it's fine to merge this and have it exposed via
only kscreen-doctor for devs.

Test Plan:
Used kscreen-doctor with modified kwin
Kwin got float values

Reviewers: #kwin, mart

Reviewed By: #kwin, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D13617
parent 13bc5bcd
...@@ -316,9 +316,9 @@ void WaylandConfig::applyConfig(const KScreen::ConfigPtr &newConfig) ...@@ -316,9 +316,9 @@ void WaylandConfig::applyConfig(const KScreen::ConfigPtr &newConfig)
wlOutputConfiguration->setPosition(o_old->outputDevice(), output->pos()); wlOutputConfiguration->setPosition(o_old->outputDevice(), output->pos());
} }
if (!qFuzzyCompare(device->scale(), output->scale())) { if (!qFuzzyCompare(device->scaleF(), output->scale())) {
changed = true; changed = true;
wlOutputConfiguration->setScale(o_old->outputDevice(), output->scale()); wlOutputConfiguration->setScaleF(o_old->outputDevice(), output->scale());
} }
// rotation // rotation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment