disconnect all client signals when it's closed

the client can still live on and emit stuff, but the
compositing has been fininshed for it, so the effect window is NULL

BUG: 310142
FIXED-IN: 4.10
REVIEW: 108008
This commit is contained in:
Thomas Lübking 2012-12-29 17:02:09 +01:00
parent 62c62e4336
commit b301c357d5

View file

@ -440,6 +440,7 @@ void EffectsHandlerImpl::slotDeletedRemoved(KWin::Deleted *d)
void EffectsHandlerImpl::slotWindowClosed(KWin::Toplevel *c)
{
c->disconnect(this);
emit windowClosed(c->effectWindow());
}