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
This commit is contained in:
Michael Jansen 2011-04-25 14:11:35 +02:00
parent 86deb80d65
commit 6630e49d1d

View file

@ -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;
}