Commit 429fe058 authored by Roman Gilg's avatar Roman Gilg Committed by David Edmundson

Cache output transformation first

First we need to set a transformation, then update the backend. In DRM the
cursor gets updated and needs the new transformed size.

Longterm we need a pending state if we want to apply configuration changes
atomically or deny them.

Test Plan: Compiles.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 15de237d
......@@ -185,8 +185,8 @@ void AbstractWaylandOutput::applyChanges(const KWayland::Server::OutputChangeSet
if (changeSet->transformChanged()) {
qCDebug(KWIN_CORE) << "Server setting transform: " << (int)(changeSet->transform());
emitModeChanged = true;
if (changeSet->positionChanged()) {
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