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

Support kwin fractional scaling in wayland backend

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:
parent 13bc5bcd
......@@ -316,9 +316,9 @@ void WaylandConfig::applyConfig(const KScreen::ConfigPtr &newConfig)
wlOutputConfiguration->setPosition(o_old->outputDevice(), output->pos());
if (!qFuzzyCompare(device->scale(), output->scale())) {
if (!qFuzzyCompare(device->scaleF(), output->scale())) {
changed = true;
wlOutputConfiguration->setScale(o_old->outputDevice(), output->scale());
wlOutputConfiguration->setScaleF(o_old->outputDevice(), output->scale());
// rotation
Supports Markdown
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