From 1e4d1347d6f7e818bc5709e55a0b02046a1f07fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= 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()); }