Remove code duplication
Summary: setGlobalPos sets these, we don't need to call it twice Test Plan: Looked at setGlobalPos Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8581
This commit is contained in:
parent
e7b183f886
commit
ca6459145c
1 changed files with 0 additions and 2 deletions
|
@ -706,8 +706,6 @@ bool DrmOutput::commitChanges()
|
||||||
}
|
}
|
||||||
if (m_changeset->positionChanged()) {
|
if (m_changeset->positionChanged()) {
|
||||||
qCDebug(KWIN_DRM) << "Server setting position: " << m_changeset->position();
|
qCDebug(KWIN_DRM) << "Server setting position: " << m_changeset->position();
|
||||||
m_waylandOutput->setGlobalPosition(m_changeset->position());
|
|
||||||
m_waylandOutputDevice->setGlobalPosition(m_changeset->position());
|
|
||||||
setGlobalPos(m_changeset->position());
|
setGlobalPos(m_changeset->position());
|
||||||
// may just work already!
|
// may just work already!
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue