diff --git a/effects.cpp b/effects.cpp index e5af332b7b..92c34b2cdb 100644 --- a/effects.cpp +++ b/effects.cpp @@ -351,7 +351,7 @@ void EffectsHandlerImpl::slotClientStepUserMovedResized(Client* c, const QRect& void EffectsHandlerImpl::slotOpacityChanged(Toplevel *t, qreal oldOpacity) { - if (t->opacity() == oldOpacity) { + if (t->opacity() == oldOpacity || !t->effectWindow()) { return; } emit windowOpacityChanged(t->effectWindow(), oldOpacity, (qreal)t->opacity());