summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2012-12-29 16:02:09 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2013-01-02 18:05:10 (GMT)
commit84b63d4b45ee980ed29d2893326eaa4fae45c5da (patch)
treef2f7b8d37af567f709bec505f1466e25b0ea7ee6
parent7cbd2d3bda8b44935c136366aa510b33762bf14b (diff)
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
-rw-r--r--kwin/effects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kwin/effects.cpp b/kwin/effects.cpp
index 7025883..eaab46f 100644
--- a/kwin/effects.cpp
+++ b/kwin/effects.cpp
@@ -440,6 +440,7 @@ void EffectsHandlerImpl::slotDeletedRemoved(KWin::Deleted *d)
void EffectsHandlerImpl::slotWindowClosed(KWin::Toplevel *c)
{
+ c->disconnect(this);
emit windowClosed(c->effectWindow());
}