[wayland] Destroy ShellClient already when Surface gets unbound
This commit is contained in:
parent
2feea7837a
commit
5f3544bac8
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ void ShellClient::init()
|
|||
}
|
||||
);
|
||||
connect(s, &SurfaceInterface::unmapped, this, &ShellClient::unmap);
|
||||
connect(s, &SurfaceInterface::unbound, this, &ShellClient::destroyClient);
|
||||
connect(s, &SurfaceInterface::destroyed, this, &ShellClient::destroyClient);
|
||||
if (m_shellSurface) {
|
||||
initSurface(m_shellSurface);
|
||||
|
|
Loading…
Reference in a new issue