diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -1401,7 +1401,8 @@ m_plasmaShellSurface->showAutoHidingPanel(); } ); - updatePosition(); + if (surface->isPositionSet()) + updatePosition(); updateRole(); updateShowOnScreenEdge(); connect(this, &XdgShellClient::frameGeometryChanged, this, &XdgShellClient::updateShowOnScreenEdge);