diff --git a/src/libkwineffects/kwinoffscreeneffect.cpp b/src/libkwineffects/kwinoffscreeneffect.cpp index e59abc2b0f..7b4f80b8de 100644 --- a/src/libkwineffects/kwinoffscreeneffect.cpp +++ b/src/libkwineffects/kwinoffscreeneffect.cpp @@ -250,6 +250,7 @@ void OffscreenEffect::handleWindowDamaged(EffectWindow *window) void OffscreenEffect::handleWindowDeleted(EffectWindow *window) { + effects->makeOpenGLContextCurrent(); unredirect(window); }