[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,11 +55,11 @@ 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] {
|
||||||
|
|
Loading…
Reference in a new issue