From 6630e49d1dd394691de2eb73b4dffcb1d5f1f7ac Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Mon, 25 Apr 2011 14:11:35 +0200 Subject: [PATCH] Fix (hopefully) compile if KWIN_HAVE_OPENGL_COMPOSITING is not defined. Those members are not defined in that case so don't maintain them here. @kwin devs. Feel free to revert, improve or whatever comes to your mind. CCMAIL: kwin@kde.org --- effects/logout/logout.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }