Commit c9c6fa81 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't position plasma surfaces if a position wasn't requested

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D28429
parent 27634d00
......@@ -1401,7 +1401,8 @@ void XdgShellClient::installPlasmaShellSurface(PlasmaShellSurfaceInterface *surf
m_plasmaShellSurface->showAutoHidingPanel();
}
);
updatePosition();
if (surface->isPositionSet())
updatePosition();
updateRole();
updateShowOnScreenEdge();
connect(this, &XdgShellClient::frameGeometryChanged, this, &XdgShellClient::updateShowOnScreenEdge);
......
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