[wayland] Internal ShellClient is on all desktops

This commit is contained in:
Martin Gräßlin 2015-06-08 20:18:40 +02:00
parent 199cd70416
commit e46ad2091b

View file

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