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
This commit is contained in:
Aleix Pol 2020-03-30 14:49:43 +02:00
parent 27634d00c0
commit c9c6fa818d

View file

@ -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);