diff --git a/shell/desktopview.cpp b/shell/desktopview.cpp --- a/shell/desktopview.cpp +++ b/shell/desktopview.cpp @@ -270,6 +270,9 @@ setGeometry(geo); setMinimumSize(geo.size()); setMaximumSize(geo.size()); + if (m_shellSurface) { + m_shellSurface->setPosition(geo.topLeft()); + } } @@ -296,5 +299,6 @@ return; } m_shellSurface = interface->createSurface(s, this); + m_shellSurface->setPosition(screen()->geometry().topLeft()); } }