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:
parent
86deb80d65
commit
6630e49d1d
1 changed files with 2 additions and 0 deletions
|
@ -322,8 +322,10 @@ void LogoutEffect::slotWindowClosed(EffectWindow* w)
|
||||||
|
|
||||||
void LogoutEffect::slotWindowDeleted(EffectWindow* w)
|
void LogoutEffect::slotWindowDeleted(EffectWindow* w)
|
||||||
{
|
{
|
||||||
|
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||||
windows.removeAll(w);
|
windows.removeAll(w);
|
||||||
ignoredWindows.removeAll(w);
|
ignoredWindows.removeAll(w);
|
||||||
|
#endif
|
||||||
if (w == logoutWindow)
|
if (w == logoutWindow)
|
||||||
logoutWindow = NULL;
|
logoutWindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue