[wayland] Destroy ShellClient already when Surface gets unbound

remotes/origin/Plasma/5.8
Martin Gräßlin 10 years ago
parent 2feea7837a
commit 5f3544bac8
  1. 1
      shell_client.cpp

@ -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…
Cancel
Save