[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    =?utf-8?q?=5Bkde-workspace=5D_kwin/effects/logout=3A_Fix_=28hope?=
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2011-04-25 12:12:43
Message-ID: 20110425121243.46827A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit ed70462a07ae650f01002c25ce5b5104f19f2892 by Michael Jansen.
Committed on 25/04/2011 at 14:11.
Pushed by mjansen into branch 'master'.

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

M  +2    -0    kwin/effects/logout/logout.cpp     

http://commits.kde.org/kde-workspace/ed70462a07ae650f01002c25ce5b5104f19f2892

diff --git a/kwin/effects/logout/logout.cpp b/kwin/effects/logout/logout.cpp
index 92cbb8e..d3a4c74 100644
--- a/kwin/effects/logout/logout.cpp
+++ b/kwin/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;
 }
_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic