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