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:
parent
27634d00c0
commit
c9c6fa818d
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue