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
icc-effect-5.14.5
Thomas Lübking 2012-12-29 17:02:09 +01:00
parent 1727ab1211
commit 1e4d1347d6
1 changed files with 1 additions and 0 deletions

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());
}