[wayland] Internal ShellClient is on all desktops
parent
199cd70416
commit
e46ad2091b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue