[wayland] Internal ShellClient is on all desktops

icc-effect-5.14.5
Martin Gräßlin 2015-06-08 20:18:40 +02:00
parent 199cd70416
commit e46ad2091b
1 changed files with 2 additions and 2 deletions

View File

@ -55,12 +55,12 @@ ShellClient::ShellClient(ShellSurfaceInterface *surface)
}
if (m_internalWindow) {
updateInternalWindowGeometry();
setOnAllDesktops(true);
} else {
setGeometry(QRect(QPoint(0, 0), m_clientSize));
setDesktop(VirtualDesktopManager::self()->current());
}
setDesktop(VirtualDesktopManager::self()->current());
connect(surface->surface(), &SurfaceInterface::sizeChanged, this,
[this] {
m_clientSize = m_shellSurface->surface()->buffer()->size();