diff --git a/effects/logout/logout.cpp b/effects/logout/logout.cpp index 92cbb8e55f..d3a4c7471b 100644 --- a/effects/logout/logout.cpp +++ b/effects/logout/logout.cpp @@ -322,8 +322,10 @@ void LogoutEffect::slotWindowClosed(EffectWindow* w) void LogoutEffect::slotWindowDeleted(EffectWindow* w) { +#ifdef KWIN_HAVE_OPENGL_COMPOSITING windows.removeAll(w); ignoredWindows.removeAll(w); +#endif if (w == logoutWindow) logoutWindow = NULL; }