[wayland] Internal ShellClient is on all desktops
This commit is contained in:
parent
199cd70416
commit
e46ad2091b
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue