From b301c357d50c00b9a90306dae41e03dc7194a337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking@gmail.com> Date: Sat, 29 Dec 2012 17:02:09 +0100 Subject: [PATCH] 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 --- effects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects.cpp b/effects.cpp index 7025883505..eaab46ff32 100644 --- a/effects.cpp +++ b/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()); }